{"id":219,"date":"2018-10-28T17:38:02","date_gmt":"2018-10-28T17:38:02","guid":{"rendered":"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/?p=219"},"modified":"2018-10-28T17:40:12","modified_gmt":"2018-10-28T17:40:12","slug":"how-to-translate-any-themes-or-plugins-using-poedit","status":"publish","type":"post","link":"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/blog\/how-to-translate-any-themes-or-plugins-using-poedit\/","title":{"rendered":"How to translate any themes or plugins using Poedit"},"content":{"rendered":"<p>Poedit is a software that you can use to translate themes and plugins to your preferred local language. This is available for Windows, Mac, and Linux users and can be downloaded from poedit.net. This software has a Pro version but the free version should be sufficient for you to do the translation.<\/p>\n<p>Before you begin the translation, you will need the following:<\/p>\n<ul>\n<li>Poedit software<\/li>\n<li>The .pot file of your plugin or theme &#8211; You can get this from the languages folder of your theme\/plugin.<\/li>\n<\/ul>\n<p>Once you have both, follow the instructions below.<\/p>\n<p>1. Open the Poedit software &gt; Create new translation<\/p>\n<p><a href=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-1.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-220\" src=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-1.png\" alt=\"\" width=\"812\" height=\"578\" srcset=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-1.png 812w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-1-300x214.png 300w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-1-768x547.png 768w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-1-60x43.png 60w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-1-150x107.png 150w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/a><\/p>\n<p>2. Locate the file .pot of the theme\/plugin you wish to translate.<\/p>\n<p><a href=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-2.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-221\" src=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-2.png\" alt=\"\" width=\"800\" height=\"480\" srcset=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-2.png 800w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-2-300x180.png 300w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-2-768x461.png 768w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-2-60x36.png 60w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-2-150x90.png 150w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>3. Choose the language you would want it to be translated into.<\/p>\n<p><a href=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-3.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-222\" src=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-3.png\" alt=\"\" width=\"814\" height=\"614\" srcset=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-3.png 814w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-3-300x226.png 300w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-3-768x579.png 768w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-3-60x45.png 60w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-3-150x113.png 150w\" sizes=\"(max-width: 814px) 100vw, 814px\" \/><\/a><br \/>\nNote: WordPress uses a language code for every language there is. This needs to be followed otherwise the translation won&#8217;t work. For the list of language codes WordPress uses, please click this <a href=\"http:\/\/www.aurodigo.com\/2015\/02\/wordpress-locale-codes-complete-list.html\" target=\"_blank\" rel=\"noopener\">LINK<\/a>.<\/p>\n<p>4. Once you have your language selected, you can now begin the translation.<\/p>\n<p><a href=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-4.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-223\" src=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-4.png\" alt=\"\" width=\"640\" height=\"484\" srcset=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-4.png 640w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-4-300x227.png 300w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-4-60x45.png 60w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-4-150x113.png 150w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\nOnce done, click File &gt; Save As<\/p>\n<p>5. Make sure that you saved the file in the correct format.<br \/>\nThe format should be theme-text-domain-language_code. Example: hestia-pro-en_US for US English, orfeo-sv_SE for translating Orfeo to Swedish<\/p>\n<p>The text domain of any theme(if it&#8217;s translatable) can be found in the style.css file of that theme.<\/p>\n<p>The text domain of any plugin(if it&#8217;s translatable) can be found in the main plugin file(usually named the same as the plugin itself):<\/p>\n<p>Once you click save PoEdit will automatically generate .po and .mo for you.<\/p>\n<p>Upload these two files in this location by accessing your site via FTP or your hosting&#8217;s file manager program, once connected go to wp-content\/languages\/themes (when dealing with themes) or wp-content\/languages\/plugins (when dealing with plugin translation).<\/p>\n<p>If you do not have this languages folder in your wp-content folder then simply create it.<\/p>\n<p><a href=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-5.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-224\" src=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-5.png\" alt=\"\" width=\"791\" height=\"620\" srcset=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-5.png 791w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-5-300x235.png 300w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-5-768x602.png 768w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-5-60x47.png 60w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-5-150x118.png 150w\" sizes=\"(max-width: 791px) 100vw, 791px\" \/><\/a><\/p>\n<p>6. Change the local language in WordPress.<\/p>\n<p>Once you have added the .po and .mo to the said location, go to your WordPress Dashboard &gt; Settings &gt; General<br \/>\nUnder Site language, change it to the same language as your Poedit translation.<\/p>\n<p><a href=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-6.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-225\" src=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-6.png\" alt=\"\" width=\"823\" height=\"701\" srcset=\"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-6.png 823w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-6-300x256.png 300w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-6-768x654.png 768w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-6-60x51.png 60w, https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-content\/uploads\/2018\/10\/translate-6-150x128.png 150w\" sizes=\"(max-width: 823px) 100vw, 823px\" \/><\/a><\/p>\n<p>That&#8217;s ALL.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Poedit is a software that you can use to translate themes and plugins to your preferred local language. This is available for Windows, Mac, and Linux users and can be downloaded from poedit.net. This software has a Pro version but the free version should be sufficient for you to do the translation. Before you begin [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-json\/wp\/v2\/posts\/219"}],"collection":[{"href":"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-json\/wp\/v2\/comments?post=219"}],"version-history":[{"count":0,"href":"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-json\/wp\/v2\/posts\/219\/revisions"}],"wp:attachment":[{"href":"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-json\/wp\/v2\/media?parent=219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-json\/wp\/v2\/categories?post=219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fluentthemes.com\/knowledgebase\/documentation\/wp-json\/wp\/v2\/tags?post=219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}