Support » Plugin: Cookie Bar » WPML fields translation compatibility

  • Resolved LoicTheAztec

    (@lomars)


    To make the 2 plugin fields setting translatable in WPML, you can just add in your plugin an xml file named wpml-config.xml with this content inside:

    <wpml-config>
      <admin-texts>
        <key name="cookie_bar_message"/>
        <key name="cookie_bar_button"/>
      </admin-texts>
    </wpml-config>

    This will allow WPML string translation to scan those fields for translation…

    This is tested and works with WPML String translation, enabling scanning option to get them…

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WPML fields translation compatibility’ is closed to new replies.