• Resolved babluplanet

    (@babluplanet)


    For the following shortcode for example:

    [tdm_block_socials display_inline="yes" tds_social1-icons_color="#ffffff" tds_social1-icons_hover_color="#4c4084" tds_social="tds_social1" icons_size="16" tdc_css="eyJhbGwiOnsicGsdfGluZy10b3AiOiI3IiwicGFkZGluZy1yaWdodCI6IjUiLCJkaXNwbGF5IjoiIn19" icons_padding="1.7" social_rel="" facebook="https://facebook.com/sudan-tribune" twitter="https://twitter.com/sudan-tribune" youtube="https://youtube.com/sudan-tribune"]
    

    When we add custom wpml xml configuration to wpml plugin settings:

    <wpml-config>
        <shortcodes>
            <shortcode>
                <tag>tdm_block_socials</tag>
                <attributes>
                    <attribute>facebook</attribute>
                </attributes>
            </shortcode>
            <shortcode>
                <tag>tdm_block_socials</tag>
                <attributes>
                    <attribute>twitter</attribute>
                </attributes>
            </shortcode>
            <shortcode>
                <tag>tdm_block_socials</tag>
                <attributes>
                    <attribute>youtube</attribute>
                </attributes>
            </shortcode>
        </shortcodes>
    </wpml-config>
    

    The string appears as plain xml in string translation like this:

    View post on imgur.com

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WPML Translate tagDiv Composer Shortcode Attribute’ is closed to new replies.