{"id":155,"date":"2017-04-01T02:52:43","date_gmt":"2017-04-01T02:52:43","guid":{"rendered":"http:\/\/www.loftocean.com\/ceramag\/?p=155"},"modified":"2018-06-26T06:23:43","modified_gmt":"2018-06-26T06:23:43","slug":"how-to-translate-ceramag-theme","status":"publish","type":"post","link":"https:\/\/www.loftocean.com\/ceramag\/translate\/how-to-translate-ceramag-theme\/","title":{"rendered":"How to translate CeraMag theme"},"content":{"rendered":"<p>CeraMag theme is translation ready. We have included .pot file which can be used for translating the theme into any language.<\/p>\n<p>please use this free tool to translate: <a href=\"https:\/\/poedit.net\/wordpress\">poedit<\/a>. You can download the tool to your computer, and read <a href=\"https:\/\/make.wordpress.org\/docs\/theme-developer-handbook\/part-two-theme-functionality\/internationalization\/\">poedit documentation<\/a> to know the details about how to translate your site with the tool.<\/p>\n<hr \/>\n<p>Let&#8217;s translate the text &#8220;Next Article&#8221; into German as a simple example:<\/p>\n<h5>Step 1 &#8211; Find the .pot file<\/h5>\n<p>In the <strong>ceramag<\/strong> theme folder, please go to <strong>assets &gt; languages<\/strong>, there you can find the <strong>&#8220;ceramag.pot&#8221;<\/strong> file.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-158\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/ceramag-pot-file-location.png\" alt=\"ceramag-pot-file-location\" width=\"1636\" height=\"472\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/ceramag-pot-file-location.png 1636w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/ceramag-pot-file-location-300x87.png 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/ceramag-pot-file-location-768x222.png 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/ceramag-pot-file-location-1024x295.png 1024w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/ceramag-pot-file-location-360x104.png 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/ceramag-pot-file-location-480x138.png 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/ceramag-pot-file-location-720x208.png 720w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/ceramag-pot-file-location-960x277.png 960w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/ceramag-pot-file-location-1440x415.png 1440w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/ceramag-pot-file-location-1200x346.png 1200w\" sizes=\"(max-width: 1636px) 100vw, 1636px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h5>Step 2 &#8211; Translate text in &#8220;ceramag.pot&#8221; file<\/h5>\n<p>Please download and install <a href=\"https:\/\/poedit.net\/wordpress\">poedit<\/a> on your computer first. Then right click the <strong>&#8220;ceramag.pot&#8221;<\/strong> file and choose to open it with <strong>Poedit.app<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-161\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/open-pot-in-poedit.png\" alt=\"open-pot-in-poedit\" width=\"492\" height=\"191\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/open-pot-in-poedit.png 984w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/open-pot-in-poedit-300x116.png 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/open-pot-in-poedit-768x298.png 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/open-pot-in-poedit-360x140.png 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/open-pot-in-poedit-480x186.png 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/open-pot-in-poedit-720x280.png 720w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/open-pot-in-poedit-960x373.png 960w\" sizes=\"(max-width: 492px) 100vw, 492px\" \/><\/p>\n<p>Or open <strong>Poedit.app<\/strong> first, then choose <strong>&#8220;Create New Translation&#8221;<\/strong> and choose &#8220;ceramag.pot&#8221; file.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-205\" src=\"http:\/\/www.loftocean.com\/berry\/wp-content\/uploads\/sites\/5\/2017\/08\/choose-pot-to-translate.png\" alt=\"choose-pot-to-translate\" width=\"2068\" height=\"1192\" \/><\/p>\n<p>Select the target language in the list:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-164\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translation-language.png\" alt=\"translation-language\" width=\"2068\" height=\"1242\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translation-language.png 2068w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translation-language-300x180.png 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translation-language-768x461.png 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translation-language-1024x615.png 1024w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translation-language-360x216.png 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translation-language-480x288.png 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translation-language-720x432.png 720w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translation-language-960x577.png 960w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translation-language-1440x865.png 1440w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translation-language-1200x721.png 1200w\" sizes=\"(max-width: 2068px) 100vw, 2068px\" \/><\/p>\n<p>Find the text you&#8217;d like to translate, then enter the translated text into <strong>&#8220;Translation&#8221;<\/strong> box.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-176\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translate-text.png\" alt=\"translate-text\" width=\"2072\" height=\"1242\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translate-text.png 2072w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translate-text-300x180.png 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translate-text-768x460.png 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translate-text-1024x614.png 1024w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translate-text-360x216.png 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translate-text-480x288.png 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translate-text-720x432.png 720w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translate-text-960x575.png 960w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translate-text-1440x863.png 1440w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/translate-text-1200x719.png 1200w\" sizes=\"(max-width: 2072px) 100vw, 2072px\" \/><\/p>\n<p>When complete the translation, click <strong>&#8220;File&#8221; &gt; &#8220;Save as&#8221;<\/strong>, then add <strong>&#8220;ceramag-&#8220;<\/strong> as the prefix to the file name. So if the default file name is &#8220;de_DE.po&#8221;, change it to &#8220;ceramag-de_DE.po&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-170\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/save-translation.png\" alt=\"save-translation\" width=\"1656\" height=\"692\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/save-translation.png 1656w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/save-translation-300x125.png 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/save-translation-768x321.png 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/save-translation-1024x428.png 1024w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/save-translation-360x150.png 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/save-translation-480x201.png 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/save-translation-720x301.png 720w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/save-translation-960x401.png 960w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/save-translation-1440x602.png 1440w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/save-translation-1200x501.png 1200w\" sizes=\"(max-width: 1656px) 100vw, 1656px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-171\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/add-ceramag-prefix.png\" alt=\"add-ceramag-prefix\" width=\"421\" height=\"165\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/add-ceramag-prefix.png 842w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/add-ceramag-prefix-300x118.png 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/add-ceramag-prefix-768x301.png 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/add-ceramag-prefix-360x141.png 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/add-ceramag-prefix-480x188.png 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/add-ceramag-prefix-720x282.png 720w\" sizes=\"(max-width: 421px) 100vw, 421px\" \/><\/p>\n<p>Then you will get 2 files: <strong>&#8220;ceramag-de_DE.po&#8221;<\/strong> and <strong>&#8220;ceramag-de_DE.mo&#8221;<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<h5>Step 3 &#8211; Upload translated files to your WordPress site<\/h5>\n<p>Please upload the 2 files to your WordPress site via FTP. Please put the 2 files to the path &#8220;wp-content\/languages\/themes&#8221;, like shown in the screenshot below. You may need to create a new folder and name it <strong>&#8220;themes&#8221;<\/strong> if the folder doesn&#8217;t exist.<\/p>\n<p><strong>Please note:<\/strong> Don&#8217;t upload to <strong>wp-content &gt; themes<\/strong>, the correct path is <strong>wp-content &gt; languages &gt; themes<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-173\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/upload-mo-po-file.png\" alt=\"upload-mo-po-file\" width=\"1404\" height=\"224\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/upload-mo-po-file.png 1404w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/upload-mo-po-file-300x48.png 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/upload-mo-po-file-768x123.png 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/upload-mo-po-file-1024x163.png 1024w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/upload-mo-po-file-360x57.png 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/upload-mo-po-file-480x77.png 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/upload-mo-po-file-720x115.png 720w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/upload-mo-po-file-960x153.png 960w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/upload-mo-po-file-1200x191.png 1200w\" sizes=\"(max-width: 1404px) 100vw, 1404px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h5>Step 4 &#8211; Switch your site language<\/h5>\n<p>In your WordPress dashboard, go to <strong>Settings &gt; General &gt; Site Language<\/strong>, choose the target language in the list, then save changes to let your site use the translated file.<\/p>\n<p>As you can see in the screenshot below, the text &#8220;Next Article&#8221; on a single post page has been translated into &#8220;N\u00e4chster Artikel&#8221;:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-175\" style=\"border: 1px solid #EEE;\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/next-article-translation.png\" alt=\"next-article-translation\" width=\"1712\" height=\"942\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/next-article-translation.png 1712w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/next-article-translation-300x165.png 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/next-article-translation-768x423.png 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/next-article-translation-1024x563.png 1024w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/next-article-translation-360x198.png 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/next-article-translation-480x264.png 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/next-article-translation-720x396.png 720w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/next-article-translation-960x528.png 960w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/next-article-translation-1440x792.png 1440w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/08\/next-article-translation-1200x660.png 1200w\" sizes=\"(max-width: 1712px) 100vw, 1712px\" \/><\/p>\n<p>And please note: when switch your site language, be careful with the language options. For example, if you choose &#8220;<strong>Deutsch (Schweiz)<\/strong>&#8221; instead of <strong>&#8220;Deutsch&#8221;<\/strong>, then the translated files should be named as\u00a0<strong>&#8220;ceramag-de_CH.po&#8221;<\/strong> and <strong>&#8220;ceramag-de_CH.mo&#8221;<\/strong>. WordPress will not load\u00a0<strong>&#8220;ceramag-de_DE.po&#8221;<\/strong>\u00a0and\u00a0<strong>&#8220;ceramag-de_DE.mo&#8221; <\/strong>for<strong>\u00a0&#8220;Deutsch (Schweiz)&#8221;<\/strong> language\u00a0option.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-182\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/choose-site-language.png\" alt=\"choose-site-language\" width=\"1272\" height=\"248\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/choose-site-language.png 1272w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/choose-site-language-300x58.png 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/choose-site-language-768x150.png 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/choose-site-language-1024x200.png 1024w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/choose-site-language-360x70.png 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/choose-site-language-480x94.png 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/choose-site-language-720x140.png 720w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/choose-site-language-960x187.png 960w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/choose-site-language-1200x234.png 1200w\" sizes=\"(max-width: 1272px) 100vw, 1272px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CeraMag theme is translation ready. We have included .pot file which can be used for translating the theme into any language. please use this free tool to translate: poedit. You can download the tool to your computer, and read poedit documentation to know the details about how to translate your site with the tool. Let&#8217;s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-155","post","type-post","status-publish","format-standard","hentry","category-translate"],"_links":{"self":[{"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/posts\/155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/comments?post=155"}],"version-history":[{"count":5,"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/posts\/155\/revisions"}],"predecessor-version":[{"id":184,"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/posts\/155\/revisions\/184"}],"wp:attachment":[{"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/media?parent=155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/categories?post=155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/tags?post=155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}