Home›Support›English Support›[Resolved] [Assigned] WPML does not show flags and does not show the lates translation
[Resolved] [Assigned] WPML does not show flags and does not show the lates translation
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.
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?
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.
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?
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.