Translate Theme PO Data Without an Plugin like LOCO

This topic has 2 replies, 2 voices, and was last updated 2 years ago ago by Tony Rodriguez

  • Avatar: nils
    nils
    Participant
    December 4, 2022 at 08:58

    Hello, is it possible to translate the theme at all without a plugin like Loco?
    I have tried a few things now, but the translation does not work. I put the German PO file in the different directories, but it doesn’t seem to be read. The PO file is also error free, already checked that.

    These are the paths where I put the translated PO file.
    I have already cleared the cache. Tested different browsers.

    Where could the error be?

    domain/wp-content/languages/themes/xstore-de_DE.po
    domain/wp-content/themes/xstore/languages/xstore-de_DE.po
    domain/wp-content/themes/xstore_child/languages/xstore_child-de_DE.po

    1 Answer
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 4, 2022 at 10:25

    Hello, @nils,

    If you do not want to use the loco translate plugin and want to translate your site then, you have to use the poeditor software: https://poedit.net/

    You can simply edit the po file with that software and then change the word/translation as per your requirements, after that you have to compile that po file to mo file using the same software because the machine will read the machine-oriented (mo) file.

    Then after that, you have to put/upload the po and mo files under the directories listed below:

    domain/wp-content/languages/themes/xstore-de_DE.po
    domain/wp-content/languages/themes/xstore-de_DE.mo

    It will work for you.

    Regards 8Themes Team.

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

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

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