This topic has 4 replies, 2 voices, and was last updated 9 years ago ago by Jack Richardson
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
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.
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
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.
You must be logged in to reply to this topic.Log in/Sign up