Difficult to Translate Royal Theme - by Inf Ross

This topic has 37 replies, 8 voices, and was last updated 6 years, 6 months ago ago by Rose Tyler

  • Avatar: maxmullins
    Max Mullins
    Participant
    May 30, 2017 at 17:53

    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

    Avatar: Serge2017
    Serge2017
    Participant
    May 30, 2017 at 18:07

    “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 🙁

    Avatar: maxmullins
    Max Mullins
    Participant
    May 30, 2017 at 18:54

    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

    Avatar: Serge2017
    Serge2017
    Participant
    May 30, 2017 at 19:02

    I realized my mistake, thank you!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 31, 2017 at 09:38

    Hello,

    I am glad that you sorted out.
    Feel free to ask if you need any other help.

    Regards,
    Rose Tyler.

    Avatar: Olele
    Olele
    Participant
    April 24, 2018 at 15:47

    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?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 24, 2018 at 15:50

    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

  • 1 2
    Viewing 37 results - 31 through 37 (of 37 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.