shshanker
8/13/2015 - 5:21 AM

WPML config

WPML config

<wpml-config>
    <custom-fields>
        <custom-field action="copy">quantity</custom-field>
        <custom-field action="translate">custom-title</custom-field>
        <custom-field action="copy">weight</custom-field>
        <custom-field action="translate">custom-description</custom-field>
        <custom-field action="ignore">date-added</custom-field>
    </custom-fields>
    <custom-types>
        <custom-type translate="1">book</custom-type>
        <custom-type translate="1">DVD</custom-type>
    </custom-types>    
    <taxonomies>
        <taxonomy translate="1">genre</taxonomy>
        <taxonomy translate="1">type</taxonomy>
        <taxonomy translate="0">publisher</taxonomy>
    </taxonomies>    
    <admin-texts>
        <key name="my_plugins_options">
            <key name="option_name_1" />
            <key name="option_name_2" />
            <key name="options_group_1">
                <key name="sub_option_name_11" />
                <key name="sub_option_name_12" />
            </key>
            <key name="options_group_2">
                <key name="sub_option_name_21" />
                <key name="sub_option_name_22" />
            </key>
        </key>
        <key name="simple_string_option" />
    </admin-texts>    
    <language-switcher-settings>
        <key name="icl_lang_sel_config">
            <key name="font-current-normal">#444444</key>
            <key name="font-current-hover">#000000</key>
            <key name="background-current-normal">#ffffff</key>
            <key name="background-current-hover">#eeeeee</key>
            <key name="font-other-normal">#444444</key>
            <key name="font-other-hover">#000000</key>
            <key name="background-other-normal">#ffffff</key>
            <key name="background-other-hover">#eeeeee</key>
            <key name="border">#cdcdcd</key>
        </key>
        <key name="icl_lang_sel_footer_config">
            <key name="font-current-normal">#444444</key>
            <key name="font-current-hover">#000000</key>
            <key name="background-current-normal">#ffffff</key>
            <key name="background-current-hover">#eeeeee</key>
            <key name="font-other-normal">#444444</key>
            <key name="font-other-hover">#000000</key>
            <key name="background-other-normal">#ffffff</key>
            <key name="background-other-hover">#eeeeee</key>
            <key name="border">#cdcdcd</key>
        </key>    
        <key name="icl_language_switcher_sidebar">0</key>  
        <key name="icl_widget_title_show">0</key>
        <key name="icl_lang_sel_type">dropdown</key>
        <key name="icl_lso_link_empty">0</key>
        <key name="icl_lso_flags">0</key>
        <key name="icl_lso_native_lang">1</key>
        <key name="icl_lso_display_lang">1</key>
        <key name="icl_lang_sel_footer">0</key>
        <key name="icl_post_availability">0</key>
        <key name="icl_post_availability_position">below</key>
        <key name="icl_post_availability_text">This post is also available in: %s</key>    
    </language-switcher-settings>    
</wpml-config>