Skip Navigation

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 christofferL-6 1 year, 11 months ago.

Assisted by: Bigul.

Author Posts
June 28, 2023 at 9:54 pm #13914281

christofferL-6

I am trying to:
Make it so that the currency on the site changes when a visitor change the language of the site.

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

I expected to see:
When I switch to the language norwegian with the language switcher at the bottom of the page – it should also switch the currency to NOK currency. For example now the page is in swedish as default and shows the currency in SEK (which is correct). But if I change the language to norwegian then it does not change the currency to NOK.

Instead, I got:
It still shows SEK as the currency for norwegian language.

I have even disabled all plugins except woocommerce and wpml plugins and I only use the theme storefront to test this. I have also tried to clear all cache and wpml cache.

Please look at the provided screenshot of the settings.

Thanks!

CleanShot 2023-06-28 at 23.50.06@2x.jpg
June 29, 2023 at 9:39 am #13916261

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Just to make sure, does it happens with all the Product translations?

Please visit WooCommerce>>WooCommerce Multilingual>>Stauts and check if it is showing any configuration warnings.

Also, increase *WP Memory Limit* to *256* MB(the minimum required memory limit for WPML is *128*). Please check the following links for more details

https://wpml.org/home/minimum-requirements/

https://developer.wordpress.org/apis/wp-config-php/#increasing-memory-allocated-to-php

If the problem remains, please try the following troubleshooting steps after a full site backup{mandatory} and make sure the issue is existing or not.

1) Go to WPML>>Support page, click on the Troubleshooting link (blue link in the middle of the page)

2) On the Troubleshooting page, please click on the following options in the *Clean up* section. Wait for confirmation of processing after each one.

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables

--
Thanks!

Bigul