![]() ![]() On below image, you can see where to type translated texts in Poedit, as not everyone gets it right away. Change your language in WordPressĪt the end you have to go to your Admin Panel, Settings → General → Site Language and set your language.Īfter that, if everything went fine, you will see the theme strings in your language:-) How to use Poedit to translate strings If you have already created translations in the main theme, then just copy the whole languages/ directory to the child theme, so you will have a structure themename-child-theme/languages/de_DE.po for example. Just create languages/ directory in the child theme and put your translation there. If you don’t want to lose your translation on each theme update, then you should put your translation in the child theme, instead of the main theme. pot file may change as we may add some new functions or fix some spelling, but you can use your old translation to get most of the work done. So for example for German – Deutsch you should save files as de_DE and get 2 files: de_DE.po and de_DE.mo.Ĭopy these files to theme directory to languages/ Names for each country can be found on (column WP Locale). This file should be opened in a program like Poedit and translated.Īfter everything is done you have to save your translation with a proper name. Translation file(.pot file) you can find in the main theme directory in languages/ So when instead of “Read more” you want to have “Continue this interesting story”, then you enter this as a translation for “Read more” and create files for your WordPress language. In this case, your entered translation will be more of a replacement. In this case, you should follow the below process as well, but translate only strings that you are interested in. Sometimes, you may find your self in need to change one of the theme strings to be presented in a different way. If you are not using any plugin for translations like WPML, then keep on reading. This way you can update the parent theme easily as your translation will reside in the child theme.The theme is prepared for translation, so it will just require some time for you to see our theme in your language(if it isn’t translated to it yet). mo files to the child theme’s “ languages” directory instead of the parent theme. If the child theme which you are using already has “ languages” directory then upload the translated. In case you need any further assistance, please register at our support website and ask your question over there. mo files to the directory from where you have downloaded the. mo ( MO stands for Machine Object ) extension in the same directory as the. ![]() po file in poedit and it will create a new file with the same name but. You do not need to translate everything, instead look for the sentences or words that you really need to translate and leave the others as it is. po in poedit software from English to your language. Complete lists of codes can be found at (country codes) and (language codes). ![]() Once found, download it and rename it to your language code, for example, fr_FR.po ( PO stands for Portable Object ) for French. pot file in the wp-content/themes/themename/languages/ folder and copy it to your desktop for editing. pot extension called POT ( Portable Object Template ) file in your theme’s “ languages” directory, If there is no such directory then look into the theme’s root directory. First, download and install Poedit software. Step-by-Step: Install Poedit Poedit is open source (there’s a Pro version you can use to hook into online services) and free to use for commercial purposes. Settings → General → Site Language Step 2 Install WordPress in your language OR Change the language in the admin settings screen. If you like to do it easily and directly from the WordPress Dashboard then you can consult the other guide in which we recommend the Loco Translate plugin. Please follow the steps below to translate the theme to your language using the POEdit tool. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |