{"id":179,"date":"2020-08-05T00:50:01","date_gmt":"2020-08-05T00:50:01","guid":{"rendered":"https:\/\/d-themes.com\/wordpress\/molla\/documentation\/?p=179"},"modified":"2020-08-19T18:33:43","modified_gmt":"2020-08-19T18:33:43","slug":"translation","status":"publish","type":"post","link":"https:\/\/d-themes.com\/wordpress\/molla\/documentation\/2020\/08\/05\/translation\/","title":{"rendered":"Translation"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">General Information<\/h4>\n\n\n\n<p>If you are new to translating WordPress, you\u2019re in the right place! In general, internationalization and localization (commonly abbreviated as i18n and l10n respectively) are terms used to describe the effort to make WordPress available in languages other than English for people from different locales. The actual localization is done using the GNU gettext framework, which is used by WordPress itself including the themes and plugins.<br>In order to make WordPress recognize the language to which you want to translate the core WordPress, the theme or the plugins, you have to define the language within the wp-config.php file or change a setting within the dashboard. The process is dependent on the WordPress version and is described below:<\/p>\n\n\n\n<p>You can see&nbsp;<a href=\"http:\/\/codex.wordpress.org\/I18n_for_WordPress_Developers\" target=\"_blank\" rel=\"noreferrer noopener\">wordpress localization documentation<\/a>&nbsp;for more details.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Method 1: Storing Inside The Theme and Plugin Folder<\/h4>\n\n\n\n<p>This is the traditional method, and the method most of our users use. To locate the Languages folder, follow this path:<br>wp-content\/themes\/molla\/languages<br>wp-content\/plugins\/molla-core\/languages<\/p>\n\n\n\n<p>Despite of being the most popular, this method has one downside. Whenever users update the theme and the plugin, the whole Theme folder and Plugin Folder are replaced with a new and updated folder, which in turn overwrites their translation files.<\/p>\n\n\n\n<p>If you choose to store your language files using this method, remember that the file structure is only the language name. For example, if the language files are in the Deutsch language, the file names would be de_DE.mo and de_DE.po.<\/p>\n\n\n\n<p>You can translate default po file with POEdit tool. You can see&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/make.wordpress.org\/polyglots\/handbook\/tools\/poedit\/\" target=\"_blank\">here<\/a>&nbsp;for more details.<\/p>\n\n\n<div class=\"notice notice-error\">\nIMPORTANT NOTE:<br>\nIf you choose to use this method, do not forget to backup files before updating.\n<\/div>\n\n\n<h4 class=\"wp-block-heading\">Method 2: Use WPML with Molla<\/h4>\n\n\n\n<p>WPML is the most popular plugin for multi language support, Molla is fully compatible with WPML. Below, you will find documentation their team created for using WPML plugin with Molla. If you\u2019ve purchased WPML and have any questions or issues, please check the links below.<\/p>\n\n\n\n<ul><li><a href=\"http:\/\/wpml.org\/?\">WPML Plugin<\/a>&nbsp;\u2013 The highly recommended plugin to manage multi-lingual sites<\/li><li><a href=\"http:\/\/wpml.org\/forums\/forum\/english-support\/\">WPML Forum Support<\/a>&nbsp;\u2013 If you bought WPML then you get free support from their amazing team<\/li><li><a href=\"http:\/\/wpml.org\/2011\/03\/howto-display-different-widgets-per-language\/\">Translating Widgets<\/a>&nbsp;\u2013 Tutorial recommended by wpml team for translating widgets<\/li><\/ul>\n\n\n<div id=\"gutenberg-block-1\" class=\"\"><style>#gutenberg-block-1 .btn {padding:13px 20px 13px 20px;}#gutenberg-block-1 .btn-wrap {}#gutenberg-block-1 .btn i {}#gutenberg-block-1 .btn:hover,#gutenberg-block-1 .btn:focus {color: #fff;background-color: #333;border-color: #333;}<\/style>\r\n<div class=\"btn-wrap\">\r\n\t<a href=\"http:\/\/wpml.org\/\" class=\"btn btn-rounded btn-primary btn-md \" target=\"_blank\" rel=\"\"><span>Click Here To Purchase WPML Plugin!<\/span><\/a>\r\n<\/div>\r\n<\/div>","protected":false},"excerpt":{"rendered":"<p>General Information If you are new to translating WordPress, you\u2019re in the right place! In general, internationalization and localization (commonly abbreviated as i18n and l10n respectively) are terms used to describe the effort to make WordPress available in languages other than English for people from different locales. The actual localization is done using the GNU [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,37],"tags":[],"featured_image_src":{"landsacpe":false,"list":false,"medium":false,"full":false},"categories_name":["01 - General","Translation"],"author_name":"John Doe","comment_count":{"approved":0,"awaiting_moderation":0,"spam":0,"trash":0,"post-trashed":0,"all":0,"total_comments":0},"_links":{"self":[{"href":"https:\/\/d-themes.com\/wordpress\/molla\/documentation\/wp-json\/wp\/v2\/posts\/179"}],"collection":[{"href":"https:\/\/d-themes.com\/wordpress\/molla\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/d-themes.com\/wordpress\/molla\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/molla\/documentation\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/molla\/documentation\/wp-json\/wp\/v2\/comments?post=179"}],"version-history":[{"count":2,"href":"https:\/\/d-themes.com\/wordpress\/molla\/documentation\/wp-json\/wp\/v2\/posts\/179\/revisions"}],"predecessor-version":[{"id":1514,"href":"https:\/\/d-themes.com\/wordpress\/molla\/documentation\/wp-json\/wp\/v2\/posts\/179\/revisions\/1514"}],"wp:attachment":[{"href":"https:\/\/d-themes.com\/wordpress\/molla\/documentation\/wp-json\/wp\/v2\/media?parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/molla\/documentation\/wp-json\/wp\/v2\/categories?post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/molla\/documentation\/wp-json\/wp\/v2\/tags?post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}