Skip Navigation

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

Problem:
The client was experiencing issues with WPML on their website where the language flags did not change upon selection, the translations did not display correctly, and the currency displayed was incorrect (ISK instead of DKK).
Solution:
We discovered that the issues were related to a conflict with the Gtranslate plugin. After thorough testing, it was determined that simply disabling the Gtranslate plugin was not sufficient to resolve the issues. The client needed to completely delete the Gtranslate plugin to fix the problems with the language switcher, translation display, and currency display. Once the plugin was removed, the flags, translations, and currency displayed correctly.

If you're experiencing similar issues, we recommend checking for any plugin conflicts by deactivating other plugins temporarily to see if the problem resolves. If the issue persists or if this solution seems outdated or irrelevant to your case, please visit our known issues page, verify you have the latest versions of themes and plugins installed, and if needed, open a new support ticket at our support forum.

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.

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by corneliusG-2 2 days ago.

Assisted by: Bruno Kos.

Author Posts
January 28, 2025 at 7:33 am

corneliusG-2

Background of the issue:
I am trying to use WPML to display flags and show the latest translations on my website. The issue can be seen on the page: hidden link. I expected the flag to change when a new language is selected, and the page hidden link to show the correct translation when selecting English. I have tried removing all custom CSS but with no luck. The flag now shows but does not change when clicked. The translation that is made through WPML is not shown on the page, e.g., on page hidden link the first part is written in Danish even though it is translated to English through WPML screenshot added of this. All the prices have ISK when this should be DKK that the WPML also shows at the back end.

Symptoms:
Flags do not change when a new language is selected, and the page does not show the correct translation when trying to pick English. Prices are displayed in ISK instead of DKK.

Questions:
Why does the flag not change when a new language is selected?
Why is the translation not showing correctly on the page?
Why are the prices displayed in ISK instead of DKK?

January 28, 2025 at 8:08 am
January 28, 2025 at 9:07 am #16640418

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

To troubleshoot this problem, I'll install the Duplicator plugin and generate packages for further debugging purposes. I'll ensure to exclude all media files to maintain a minimal package size. You can find more information about the process here: [link](https://wpml.org/faq/provide-supporters-copy-site/). Please confirm if this approach is acceptable to you.

January 28, 2025 at 9:36 am #16640553

corneliusG-2

no worries that is fine

January 28, 2025 at 10:42 am #16641037

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

I tried this on my localhost:
hidden link

Language switcher, as well as translations, work properly. So I believe that the issue come from your caching, either caching plugins altogether or some settings within.

That being said, can you temporarily disable all the caching ( both through WordPress plug-ins and hosting panel if you have such option) and check the website then?

January 28, 2025 at 11:28 am #16641388

corneliusG-2

Can you help me do this? I have tried to kill everything?

January 28, 2025 at 11:51 am #16641498

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

For WordPress I see that you have WP Rocket, so try by disabling it.

As for the hosting cache you need to check there (or ask hosting support), typically we are not allowed to access client hosting accounts or ask for such information.

January 28, 2025 at 1:10 pm #16641840

corneliusG-2

I have dissabled WProcket and there is no cache from the hosting.

I do not think this is the problem

January 28, 2025 at 1:49 pm #16642097

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

I am checking this with our 2nd tier team, I'll get back to you as soon as I have any news or questions for you.

January 28, 2025 at 1:55 pm #16642151

corneliusG-2

Thank you looking forward for the reply 🙂

January 28, 2025 at 4:53 pm #16643435

corneliusG-2

After deleting a plugin called Gtranslate everything seems to work, simply disabling it was not enough