Can I translate the amount left text shown?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #88218
    Rene
    Guest

    Can i translate the text which is shown? Or only in the language, which i typed the text?

    #88219
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Rene,

    Yes, you can translate text (for WPML or Polylang) by using our [alg_wc_left_to_free_shipping_translate] shortcode, e.g.:

    [alg_wc_left_to_free_shipping_translate lang="DE"]Text for DE[/alg_wc_left_to_free_shipping_translate][alg_wc_left_to_free_shipping_translate lang="NL"]Text for NL[/alg_wc_left_to_free_shipping_translate][alg_wc_left_to_free_shipping_translate not_lang="DE,NL"]Text for other languages[/alg_wc_left_to_free_shipping_translate]

    Hope that helps and please let me know if you have any questions.

    #88220
    Rene
    Guest

    Hi, can you help me with that? I am using this setup: https://prnt.sc/on6zu2 – so without shortcodes. Can i still transalte it?

    #88221
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Rene,

    Sorry for the late reply. You need to use the translation shortcode directly in your settings. That is – instead of “Content” settings from your screenshot, you need to put something like this to “Content”:

    <div style="...">[alg_wc_left_to_free_shipping_translate lang="DE"]%amount_left_for_free_shipping% for DE[/alg_wc_left_to_free_shipping_translate][alg_wc_left_to_free_shipping_translate lang="NL"]%amount_left_for_free_shipping% for NL[/alg_wc_left_to_free_shipping_translate][alg_wc_left_to_free_shipping_translate not_lang="DE,NL"]%amount_left_for_free_shipping% for other languages[/alg_wc_left_to_free_shipping_translate]</div>
    #88222
    Rene Ulrich
    Member

    Hi thank you very much, it is working perfectly! I dont even need the premium version, but I still bought it, because it is an awesome plugin!!

    #88223
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Rene,

    Happy to help 🙂 Please let me know if you need anything else and thank you for the purchase!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.