• The text settings are not being registered for translation at WPML > Translate string, for example, the “Message for the opt-in checkbox” string at “Audience Settings”

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author ryanhungate

    (@ryanhungate)

    @webdados thanks for the heads up on this – we’ll put that in the next release no problem.

    Thread Starter Marco Almeida | Webdados

    (@webdados)

    Thanks ??

    Just update this ticket when done, please.

    I’m also looking for that fix. Waiting for the update.

    Plugin Author ryanhungate

    (@ryanhungate)

    @kr2k @webdados we just wanted to verify the real problem and address it properly. This is a dynamic string that can be changed, and it presents a little bit of a problem with the way the translators work. Lets discuss a possible workaround.

    Have you added a custom XML config in your settings area?

    
    <wpml-config>
        <admin-texts>
            <key name="mailchimp-woocommerce">
                <key name="newsletter_label"/></key>
        </admin-texts>
    </wpml-config>
    

    Then you would have to match the string inside the string translation to be the same as the dynamically saved text in our plugin admin.

    Once you’ve done this, you should be able to then add the translations at that point right? Please explain if we’re missing anything – but we’ve been able to do it exactly this way and so far it feels like the right way to get it handled.

    Thread Starter Marco Almeida | Webdados

    (@webdados)

    Yes it works, but you should add with a wpml-config.xml file, in the plugin root folder, with those directives for that string (and any other that should be translatable), so that each user doesn’t need to do that on their own.

    https://snipboard.io/lG0dD1.jpg

    That’s the correct way to fix it for everyone.

    https://wpml.org/documentation/support/language-configuration-files/#admin-texts

    Plugin Author ryanhungate

    (@ryanhungate)

    @webdados hey sorry just seeing this now. Sounds good to me, we’ll get that added to the next build. Thanks for the links. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WPML Compatibility’ is closed to new replies.