Home › Forums › Basel support forum › HEADER BANNER TRANSLATION
HEADER BANNER TRANSLATION
- This topic has 3 replies, 2 voices, and was last updated 5 years, 5 months ago by Elise Noromit.
-
AuthorPosts
-
June 20, 2019 at 6:28 pm #129488
sttefaaaParticipantHi.
I hope this is not a silly question, but maybe you can help me figure this out – how to WPML translate the Header Banner..? I have set it as HTML block and tried different ways to translate it but nothing seems to work..June 21, 2019 at 7:41 am #129545
Elise NoromitMemberHello,
Please find the file
wpml-config.xml
in the Basel theme folder, replace the whole code with this one:<wpml-config> <custom-types> <custom-type translate="1">cms_block</custom-type> <custom-type translate="1">portfolio</custom-type> <custom-type translate="0">basel_sidebar</custom-type> </custom-types> <taxonomies> <taxonomy translate="1">categories</taxonomy> <taxonomy translate="1">project-cat</taxonomy> <taxonomy translate="1">tag</taxonomy> </taxonomies> <admin-texts> <key name="basel_options"> <key name="logo" /> <key name="logo-white" /> <key name="logo-sticky" /> <key name="logo_width" /> <key name="header_text" /> <key name="header_area" /> <key name="popup_text" /> <key name="reg_text" /> <key name="login_text" /> <key name="cookies_text" /> <key name="empty_cart_text" /> <key name="copyrights" /> <key name="copyrights2" /> <key name="prefooter_area" /> <key name="additional_tab_title" /> <key name="additional_tab_text" /> <key name="content_before_add_to_cart" /> <key name="content_after_add_to_cart" /> <key name="empty_compare_text" /> <key name="reg_title" /> <key name="login_title" /> <key name="header_banner_shortcode" /> </key> </admin-texts> <custom-fields> <custom-field action="translate" label="Extra content">_basel_extra_content</custom-field> <custom-field action="translate" label="Custom tab title">_basel_product_custom_tab_title</custom-field> <custom-field action="translate" label="Custom tab content">_basel_product_custom_tab_content</custom-field> </custom-fields> </wpml-config>
Then, create tow different HTML blocks for different languages and insert in the header banner translation in the Strings translation http://prntscr.com/o4q7on
Best Regards
June 22, 2019 at 9:34 am #129643
sttefaaaParticipantThank you! Everything works now. 🙂
June 22, 2019 at 10:08 am #129652
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
The topic ‘HEADER BANNER TRANSLATION’ is closed to new replies.
- You must be logged in to create new topics. Login / Register