This topic has 37 replies, 8 voices, and was last updated 6 years, 6 months ago ago by Rose Tyler
Hello, @Serge2017
As i see you have used default wordpress translation files instead of royal.pot in royal/languges.
You may renew default royal.pot file and translate it. WordPress 4.7.5 itself don’t require translating with poedit and can be switched to russian languges via dasboard->general settings.
Regards,
Max Mullins
“you have used default wordpress translation files instead of royal.pot in royal/languges.”
This is not so.
In accordance with the instructions, the file “Royal.pot” was translated by the “poedit” program and two files (.po and .mo) was loaded into the directory /wp-content/themes/royal/languages
In accordance with the instructions in the file wp-config lines added $locale=’ru_RU’;
In the instructions:
21.1 Translation theme with default.po file
The translation file default.pot you can find in Languages_PO_files folder in theme package. Edit the .po file using POEdit, use the translation field to make replacements. Read here how to do it right.
From the file menu, save file with your language name e.g de_DE.po. It will generate both a .po and .mo files for your translation. Place these files into languages folder /wp-content/themes/royal/languages.
Next edit wp-config.php located in the root folder of WordPress and use the $locale with prefix with your language name which should be similar to the translation file name. For example: $locale=’de_DE’;
but it’s not working 🙁
Hello @Serge2017
We have renamed localization file to ru_RU from its autosave ru.po and uncheked option of “require review” in poedit settings(yellow rows are marked that way). Please check you breadcrumbs here and poedit row . Please use similar method as it was described in our documentation and poedit “review settings” for further translation.
Regards,
Max Mullins
I realized my mistake, thank you!
Hello,
I am glad that you sorted out.
Feel free to ask if you need any other help.
Regards,
Rose Tyler.
Hi, I am posting in this thread because I’m having some problems with the Cart Widget after updating my theme.
I have my site translated to different languages but the Cart widget in the header is always in English. It’s strange, because I can see the widget in the correct language for one second when I refresh or load a page, but then it goes back to English.
How could this be?
Hello @Olele,
Have you tried to disable all 3rd-party plugins?
Please check if the same problem persists with default woocommerce theme – Storefront.
Also, I would recommend you to create a new topic for this problem.
Regards
You must be logged in to reply to this topic.Log in/Sign up