![]() ![]() The last step you must upload your language files into the language/ folder of your theme using FTP.Here is a list of languages WordPress supports. If you are using the Italian, you must save the file as "it_IT.po", if you are using the german you must save the file as "de_DE" and so on. Once you translated all the strings, you must save the file, according to the language you used for your WordPress installation.Select all the original strings and type, in the field below each of them, your translation.pot file in languages/ folder of your theme. Launch POEdit and select File > New Catalog from POT file.Poedit is a common program which you can use to translate the theme. In case you’re an experienced computer user, you may want to use Poedit to translate your theme (see below), which is more complex but faster. ![]() After you have installed and activated the plugin, navigate to WP Admin > Loco Translate and translate the theme following the plugin instructions. The easiest way to translate your theme locally is by using the Loco Translate plugin. These files are located in the /languages folder of the main theme folder. To translate the theme into your language, follow the steps below : So it’s best to always save translation files to wp-content/languages/themes/.How to translate a theme to your language po/.mo files again in the same folder after the update. If you placed the translation files directly in the folder /languages/, they will be lost if you update the theme later on and you will have to put the. Here is another great tutorial from WPZOOM. If you find this method to complex, you can translate your theme with Loco translate plugin, but you will not be able to translate our widgets on newer themes. po file, we will include it in the next theme update. When you translate the theme to any new language, you can share the po/mo files with the rest of the community. So for example, German translation files would be named: proteuswidgets-de_DE.po and proteuswidgets-de_DE.mo. mo files in the following format: proteuswidgets-.po. So you have to translate the file wp-content/plugins/proteuswidgets/languages/proteuswidgets.pot. In our MentalPress theme, widgets are included as a separate plugin. How to translate the widgets in our MentalPress theme? mo files in the folder wp-content/languages/themes/ with filenames like proteuswidgets-de_DE.mo. Stick to the same instructions as above, but use this pot file instead and place the generated. So all you have to do is translate the proteuswidgets.pot file, that can be found in wp-content/themes//languages/proteuswidgets/. In our newer themes (WoonderShop, CargoPress, LegalPress, RepairPress, StructurePress …) widgets are separated from the theme so you have to translate them separately. How to translate widgets in our newer themes? This way translations are kept when you update the theme.Īnd that’s it, your translations should work now. Note that it is not recommended anymore saving translation files in the theme directory (where you found the theme-slug.pot file), but in the wp-content/languages/themes instead. mo file will be automatically created next to the. po file in the folder wp-content/languages/themes/ and name this file regarding your locale (you can find your locale on this page – see how you find it). For example: for German language you would name your file: woondershop-pt-de_DE.po. Load this file (as the catalog) in the PoEdit and start translating. pot (for WoonderShop this file is named woondershop-pt.pot, for BuildPress it’s buildpress.pot etc.). Next, find the languages folder of the theme: wp-content/themes//languages/. This can be done by going to Settings → General, where you can set the Site Language option and save the settings. First, you need to change your language of WP installation. ![]()
0 Comments
Leave a Reply. |