Home›Support›English Support›[Resolved] WPML does not show flags and does not show the lates translation
[Resolved] 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 is experiencing issues with WPML not displaying flags and not showing the latest translations on their website. Specifically, the flags do not change when a new language is selected, and the page does not display the correct translation when English is chosen. Solution: We identified that the issue with the flags not displaying might be due to custom CSS added to the theme. We recommend removing this custom CSS to see if the problem persists. Additionally, for the issue of the page not showing the correct translation when selecting English, we need more details to provide a specific solution.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please check the related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket for further assistance at WPML 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.
Symptoms:
WPML does not show flags and does not display the latest translation. The flag does not change when a new language is pressed, and the page does not show the correct translation when trying to pick English.
Questions:
Why does WPML not show flags?
Why does WPML not display the latest translation?
Why does the flag not change when a new language is selected?
Why does the page not show the correct translation when selecting English?
- create a full website backup
- disable all plugins except WPML and its add-ons
- check if the issue is happening again
- if it's not, reactivate your plugins one by one, checking every time if the issue shows up again so that you can understand which plugin is causing that issue
- leave all the non-WPML plugins deactivated
- switch to a default theme like TwentySeventeen
- try to recreate the issue now
I noticed that the sub-menu flag is not displayed due to some custom CSS that might be added to your theme. I suggested removing the custom CSS and checking if the problem exists.
Could you please elaborate on the following?
the page does not show the correct translation when trying to pick English.
I have tried removing all costume CSS but with no luck, the flag now shows but does not change when clicked.
I have added a screen shot of that the English site is chosen, the URL displays this but the danish flag is till present:
With regards to the:
the page does not show the correct translation when trying to pick English.
the translation that is made through WPML is not shown on the page etc on page hidden link the first part is written in danish even though it is translated to englsih through WPML:
Danish: Har du spørgsmål eller kan du ikke finde
en behandling, du ønsker, så ring eller skriv til klinikken.
Vi er klar til at hjælpe dig.
Should be this in English:
If you have any questions or cannot find
the treatment you want, please call or write to the clinic.
We are ready to help you.
I have added a screen shot of the wpml translation aswell
All the prices have ISK. when this should be DKK that the WPML also shows at the back end
New threads created by Andrey and linked to this one are listed below: