Home › Forums › Bee WordPress Theme › Translating header & footer-items in several languages
- This topic has 3 replies, 2 voices, and was last updated 12 years, 2 months ago by
lunte02.
-
AuthorPosts
-
April 15, 2014 at 9:00 am #3035
lunte02
ParticipantHi Uiueux-team,
I’m setting up a multilingual-page with your cool theme and the content is handled perfectly well by the WPML-plugin.
Right now I stumpled about the header- and the footer-content. These informations are filled in at your theme-menue. But they affect “only” the main-language and I don’t know how to let these values translate by WPML.In the footer the widgetized textblock “Über uns” can be set to different WPML-languages which is fine. The contactform is not affected. Is there a way to make it accessible to WPML?
Best regards,
lunteApril 16, 2014 at 4:15 am #3044Hi lunte02,
To translate the copyright information on footer, emails and address on header bar, please:
1. Install the plugin WPML String Translation.
2. Go to left menu: WPML/String translation
3. Find the following string (as the screenshot attached):
[ux_theme_option]theme_option_copyright
[ux_theme_option]theme_option_textarea_header_infoClick on the “translations” on the right side of every string item, enter the target translated words, check on “Translation is complete” and save it.
April 16, 2014 at 4:25 am #3045To translate the contact form in footer, you need translate the po/mo file :
1. Open the /wp-content/themes/bee/languages/ folder and duplicate the default.po file, then rename it to your desired language code. For example, for German you need to rename it as de_DE.po for Spanish es_ES.po for Turkish tr_TR.po etc. You could find all the codes here.
2. Open the .po file in PO Edit, you will see all strings that need to be translated. Type the translation of a string into the “Translation” column. Do not delete or edit “Original string” part.
After finish translating, save the file, an .mo file would be created in the same directory.3. Upload the new files into the languages folder of the theme /wp-content/themes/bee/languages/
Note: You will notice the content of “default.po”” is very complex, you could use the reduced version named “defaule_frontend.po” to edit necessary strings which will be show on front end.
April 16, 2014 at 4:35 pm #3053lunte02
ParticipantHi BWSM,
string translation worked like “123”! Perfect – BIG thanks!
po/mo file doesn’t seem to affect back and frontend 😐
I give it another try tomorrow.
Thanks and cheers,
lunte02 -
AuthorPosts
- You must be logged in to reply to this topic.
