• Resolved Trinh Dai

    (@trinh-dai)


    Hi,

    This plugin is able to translate this text “NO PRODUCTS IN THE CART.”?. Many Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • decarvalhoaa

    (@decarvalhoaa)

    Hi, yes. If the string is translated in the WooCommerce and/or your theme language files, Polylang and this plugin will ensure the right language is used.

    Thread Starter Trinh Dai

    (@trinh-dai)

    Hi,

    Thank for the fast response. It’s mean I need to create a language file for the second language, right?

    decarvalhoaa

    (@decarvalhoaa)

    Typically, WooCommerce has language files for the large majority of the languages with 100% strings translated. In principle you only need to create in the admin backend the WooCommerce pages (Shop, My Account, Cart, Checkout, etc) for all the languages, like you would do with a normal Page using Polylang functionality.

    For example, WooCommerce will create the pages in the default language. For the page named Cart you need to create a translation for all the languages your site supports, and add the shortcode [woocommerce_cart] in the page content. For other pages (Checkout, etc etc) check what are the shortcode in the page added automatically by WooCommerce in the default language.

    Thread Starter Trinh Dai

    (@trinh-dai)

    Hi,

    It works perfectly. Thank for your time :D.

    Thread Starter Trinh Dai

    (@trinh-dai)

    Hi,

    One more question. How can I use other currency for other languages? Thanks.

    Depending exactly on what is your requirement you need to look for plugin that implements multi currency for WooCommerce like this one https://www.ads-software.com/plugins/woocommerce-currency-switcher/

    I never used it myself. If doesn’t work for you, look for woocommerce multi currency or woocommerce currency switcher plugins.

    Thread Starter Trinh Dai

    (@trinh-dai)

    Thank for your help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to translate strings in woocommerce template?’ is closed to new replies.