• Resolved DrLightman

    (@drlightman)


    Any idea how to do it?

    Translating “Heading text” with WPML. I put it in english and I’d like to translate in other languages as well.

Viewing 1 replies (of 1 total)
  • Thread Starter DrLightman

    (@drlightman)

    Nevermind, I found the way. The plugin (toc+) must include a wpml-config.xml file in its root, with this content:

    <wpml-config>
    <admin-texts>
    <key name="toc-options">
    <key name="heading_text" />
    </key>
    </admin-texts>
    </wpml-config>

    Also, I did this, but I don’t know it it’s required.

    At that point you’re able to translate the text you saved in “Heading text” from WPML > “String translation”, you can find the new domain admin_texts_toc-options to filter by, and there there is the string named [toc-options]heading_text.

    • This reply was modified 3 months ago by DrLightman.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.