Support » Plugin: YITH Topbar Countdown » Using Yith Topbar Countdown with WPML

  • Resolved Carival

    (@carival)


    Hi there,

    Hi, my name is Carlos Rivas. I’m using your free plugin Yith Woocomerce Topbar Countdown on my theme (Mediacenter from Envato). Four months ago I asked through Q&A section if this plugin can be used in a multilanguage site and Ausilia answered yes.

    I have a WordPress project, an online store, that will be working as a multi-language platform (english and spanish). The plugin works great in the english version of the site but in the spanish version, after having translated the .po file to spanish, in the frontend only shows “Days”, “Hours”, “Minutes”, and “Seconds” translated. The message text, the slogan text, and the button text remain in english. They appear in the WPML String Translation. They were translated but they keep
    showing in english in the spanish frontend.

    Would you help me to fix this?

    I love this plugin by the way.

    Thanks in advance…

    Carlos A.

    • This topic was modified 3 years ago by Carival.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Vuk Vukovic

    (@vukvukovich)

    Hi,

    I’ve just tested it locally and it works properly. Follow these steps:

    1. Delete those strings from the WPML String Translation.
    2. Add wpml-config.xml file into the Yith plugin folder containing this code:

    <wpml-config>
      <admin-texts>
        <key name="yith_tcountdown_slogan"/>
        <key name="yith_tcountdown_message"/>
        <key name="yith_tcountdown_button_text"/>
      </admin-texts>
    </wpml-config>

    3. Go back to WPML String Translation, strings should be there now as “Not translated”. Just translate them and you should be ok. 🙂

    Best!

    Carival

    (@carival)

    Wow Vuk,

    It works perfectly!

    WPML is a great plugin but can be tricky sometimes.

    Thanks for a great (and beautiful) plugin and a better support.

    Regards

    Carlos A.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using Yith Topbar Countdown with WPML’ is closed to new replies.