How YayCurrency works with WooCommerce Multilingual by WPML

WooCommerce Multilingual by WPML allows merchants to translate all information on their WooCommerce store into different languages automatically or manually.

Start with WPML by setting up languages for your store. With its easy-to-use interface, you can add many languages to translate for your store. In this case, we added German and Vietnamese; the default is English.

WPML will translate your entire site automatically, or you can choose which content to translate as needed. And then, it's time to see the integration of WPML and YayCurrency.

Disable “WPML Compatible” option

With the default setting of YayCurrency, navigate to Advanced Settings, you can see the WPML Compatible isn't turned on.

With this option disabled, when visitors access your shop page, they can switch this page to the language they choose. However, the currency of the product is still displayed based on the current geolocation or pre-existing cookies.

Enable “WPML Compatible” option

Click to enable WPML Compatible to trigger the function of these plugins. First, you should assign the currency corresponding to the country's language.

Next, go to the shop page, when visitors click on the switcher to change the language, this page will be translated into the language they choose, including the currency.

As you can see, our shop page was translated into Deutsch and the currency also changed to Euro. Furthermore, when using WPML to switch languages, customers will not be able to change the currency as desired.

The Cart page or others were translated too.

This integration helps you save a lot of time by making the language and currency switchers work in conjunction. The combination of these two plugins is a great multi-currency and multi-language solution for merchants.

Last updated