Home Forums Basel support forum HEADER BANNER TRANSLATION Reply To: HEADER BANNER TRANSLATION

#129545

Hello,

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