Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is trying to change the language on their website, but the currency does not change accordingly. Despite downgrading the plugin and implementing a temporary redirect fix, the default currency still appears instead of the expected Euro currency.
Solution:
We recommend checking if caching is causing the issue, as currency changes may not work properly when caching is enabled. Since the WP Rocket plugin is active on the client's site, we advise adding the following cookies to the cache exclusion list under the Advanced Rules of WP Rocket:

  • wcml_client_currency
  • _wcml_booking_currency
  • wcml_client_country
  • wcml_client_currency_language
  • wcml_client_currency_switched

After making these changes, please wait some time for them to take effect. If the issue persists or further assistance is needed, we invite the client to open a new support ticket.

If this solution does not seem relevant to your situation, please open a new support ticket with us.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 6 months ago.

Assisted by: Prosenjit Barman.

Author Posts
December 18, 2023 at 5:31 pm #15086621

Simon Wenk

I am trying to: change the language but the currency is still not getting changed.

Link to a page where the issue can be seen:hidden link

I expected to see: the Euro currency, however, the default baht currency appears. We have tried downgrading the plugin but it didn't work. We have also tried only activating

December 19, 2023 at 1:53 pm #15093493

Simon Wenk

Additionaly it is to mention that the checkout page has a temporary redirect fix to the main language (EN) from the (DE) cart page. Please find the closed support thread here: https://wpml.org/forums/topic/price-showing-different-or-with-wrong-currency-on-the-cart-and-checkout-pages/

December 20, 2023 at 11:32 am #15101141

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There
Thanks for contacting WPML Support. We've been experiencing a higher-than-usual volume of tickets over the past few days. Our team is working diligently to decrease response times while still giving each ticket the attention it deserves. Thank you for your understanding.

I understand the issue you're having. Kindly be informed that changing the Currencies may not work properly in the environment where caching is enabled. Since the WP Rocket plugin is enabled on your site, would you please add the following cookies to the cache exclusion list under the Advanced Rules of WP Rocket and check if that helps to solve the issue?

wcml_client_currency
_wcml_booking_currency
wcml_client_country
wcml_client_currency_language
wcml_client_currency_switched

You need to wait for some time so that the changes can propagate. Please let me know if that helps or if you need further assistance in this matter. I will be happy to help.

[To maintain clarity and organization in each thread, we are allowed to discuss one issue per ticket, since you have mentioned another issue in your last response, I kindly request you to create a new ticket for that. We will be happy to check and address that issue as well.]

Best regards,
Prosenjit

December 21, 2023 at 8:55 am #15107635

Simon Wenk

Thanks that does the magic trick which I was looking for. Thank you