Home › Forums › Amount Left for Free Shipping for WooCommerce › Can I translate the amount left text shown?
- Support forum for the Amount Left for Free Shipping for WooCommerce.
- This topic has 5 replies, 3 voices, and was last updated 3 years, 10 months ago by
Tom Anbinder.
- AuthorPosts
-
July 29, 2019 at 12:13 am #88218
Rene
GuestCan i translate the text which is shown? Or only in the language, which i typed the text?
July 29, 2019 at 3:41 pm #88219Hi 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.
August 1, 2019 at 10:01 pm #88220Rene
GuestHi, can you help me with that? I am using this setup: https://prnt.sc/on6zu2 – so without shortcodes. Can i still transalte it?
August 2, 2019 at 6:24 pm #88221Hi 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>
August 2, 2019 at 9:46 pm #88222Rene Ulrich
MemberHi 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!!
August 3, 2019 at 5:56 pm #88223Hi Rene,
Happy to help 🙂 Please let me know if you need anything else and thank you for the purchase!
- AuthorPosts
- You must be logged in to reply to this topic.