Theme Translation - by Caz Design - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 8 years, 5 months ago ago by Jack Richardson

  • Avatar: Caz Design
    Caz Design
    Participant
    November 9, 2015 at 21:25

    Hi

    I am trying to translate the Legenda theme into German. I know from your documentation to place .po and .mo files into languages folder /wp-content/themes/legenda/languages. But I do not seem to have a /themes/legenda/languages folder. Perhaps a silly question but do I simply create the folder and place the files in it or is there a mistake?

    Could you also please explain how/where to edit the config file to include $locale=’de_DE? Does this method work if I have a multilingual site with English and German?

    Thank you

    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 10, 2015 at 09:53

    Hello,

    The directory /wp-content/themes/legenda/languages should be by default as it’s included in theme package. Also please provide us with FTP credentials in private content to check your installation from our side.

    You can paste $locale='de_DE'; after the php tag <?php.
    Please note that if you want to make multilingual site you need to use WPML plugin or other similar plugin instead of translating via .po file.

    Best regards,
    Jack Richardson.

    Avatar: Caz Design
    Caz Design
    Participant
    November 10, 2015 at 20:09

    Hi Jack

    Thank you for your reply. I double checked and the directory is correct. I must have made a mistake before.

    But perhaps you can walk me through two more small questions. Currently in the directory I have the default.mo/ .po and en_GB.mo/ .po. Do I replace both default and en with the desired de_DE files, just the en_GB or can I simply add the de_DE files?

    Do I follow the same steps for a multilingual page, adding the .po and .mo files to the directory but then make any changes with the WPML plugin?

    Thank you and best regards,
    Natalie

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 11, 2015 at 12:45

    Hello,

    You can keep default.mo/ .po and en_GB.mo/ .po files and upload your de_DE files also.
    Please read how to work with WPML plugin:
    https://wpml.org/documentation/getting-started-guide/
    https://wpml.org/documentation/getting-started-guide/theme-localization/
    https://wpml.org/documentation/getting-started-guide/string-translation/

    Best regards,
    Jack Richardson.

  • Viewing 4 results - 1 through 4 (of 4 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.