![We are strong together animation](https://loka.nahovitsyn.com/243.jpg)
- #Translate theme poedit install
- #Translate theme poedit zip file
- #Translate theme poedit update
- #Translate theme poedit code
#Translate theme poedit update
This is needed because if you update the plugin at some point, the translation files will be lost. Once you have finished the translation of EZY Functionality plugin, always make/save a backup in your machine. In this case it’s a good idea proceed with all the same steps explained above, but with the language files of EZY Functionality Plugin at “wp-content/plugins/ezy-funcionality/languages/”. Some texts/strings are rendered by the EZY Functionality Plugin language files and not by EZY Theme. Make sure to save with respective language prefix. * Note in the example above I am using the turkish language.
#Translate theme poedit code
Make sure to save with respective language prefix.ġ.9) Open the wp-config.php file (it’s on root of wordpress installation) and add this code like image below: define ('WPLANG', 'tr_TR')
![translate theme poedit translate theme poedit](https://blog.templatetoaster.com/wp-content/uploads/2017/07/Translate-WordPress-Theme-Plugin-using-Poedit-Facebook-1024x538.png)
The result should be like the image below:ġ.4) Open POEdit and click “Create New Translation”:ġ.5) Search for the file “ezy-theme.pot” that is inside the theme folder “ezy-theme-child/languages/”.ġ.6) Select the desired language for translation (on this example I used Turkish):ġ.7) Search for the string you want and translate properly:ġ.8) Save the translation inside the folder “ezy-theme-child/languages/”: This is a optional and not required step, but we highly recommend itġ.2) Copy the “languages/” folder from EZY Theme (ezy-theme/languages/) and paste inside the child theme (ezy-theme-child/).
#Translate theme poedit install
For go to WP Admin > Appearance > Themes and install the EZY Theme Child (the. For it you need do more steps:ġ.1) First we recommend you use/activate the EZY Theme Child, so you will not have problems with loosing changes/files in future updates of EZY Theme. po/.mo files for translate strings.ġ) Translate the theme trough translation file that comes with the theme. Under Site language, change it to the same language as your Poedit translation.Ĭheck and test your site if it's working.EZY Theme comes with. mo to the said location, go to your WordPress Dashboard > Settings > General. If you do not have this languages folder in your wp-content folder then simply create it.Ħ. Upload these two files in this location by accessing your site via FTP or your hosting'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).
![translate theme poedit translate theme poedit](https://wp-downloads.com/media/2021/04/14889-how-to-translate-wordpress-theme-with-poedit-788x591.jpg)
Once you click save Poedit will automatically generate. The text domain of any plugin(if it's translatable) can be found in the main plugin file (usually named the same as the plugin itself): The text domain of any theme (if it's translatable) can be found in the style.css file of that theme: Example: woovina-en_US for US English, woovina-vi for translating WooVina theme to Vietnamese. The format should be theme-text-domain-language_code. Make sure that you saved the file in the correct format Once you have your language selected, you can now begin the translation For the list of language codes WordPress uses, please click this Link. This needs to be followed otherwise the translation won't work. Note : WordPress uses a language code for every language there is. Choose the language you would want it to be translated into pot of the theme/plugin you wish to translateģ.
![translate theme poedit translate theme poedit](https://i1.wp.com/www.webfulcreations.com/wp-content/uploads/2018/01/translate-wordpress-theme-with-poedit.png)
![translate theme poedit translate theme poedit](https://fluentthemes.com/knowledgebase/documentation/wp-content/uploads/2018/10/translate-6-768x654.png)
Open the Poedit software > Create new translationĢ. Once you have both, follow the instructions below.
#Translate theme poedit zip file
pot file of your theme or plugin - You can get this from the zip file of the theme or plugin that was downloaded from the Purchase History of your account, it's usually in the languages Before you begin the translation, you will need the following:
![We are strong together animation](https://loka.nahovitsyn.com/243.jpg)