Home›Support›English Support›[Resolved] Language switcher doesn't display native language after switching to Twenty Twenty-One and disablin...
[Resolved] Language switcher doesn't display native language after switching to Twenty Twenty-One and disablin...
This thread is resolved. Here is a description of the problem and solution.
Problem: The client needed to correct the display of the Punjabi language in the WPML language switcher. Solution: We recommended the following steps: 1. Navigate to WPML-> Languages-> Edit Languages. 2. Change the Punjabi's language Translation (Punjabi) to ਪੰਜਾਬੀ. 3. Click Save. After these changes, we advised checking the language switcher on the front end to ensure the display is correct.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket.
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 have the language switcher show the language name in its native language.
For example, "English" will show as "English" and "Punjabi" will show as "ਪੰਜਾਬੀ"
However, at present they only show in English, no matter what settings I use.
I have:
-Increased memory limit
-Deleted the current langauge switcher and re-added it.
-Translated the only string I could find that says "Punjabi" in English.
-Checked different boxes on the langauge switcher settings to see if it would change anything (it does not).
-Switched to Twenty Twenty-One theme and disabled all plugins except WPML plugins.
-Tried adding a langauge switcher in the footer and in the menu, to see if those work (they do not)
-Cleared website cache
-Viewed the website in Incognito mode
None of the troubleshooting steps above seem to work.
Please note that in order to continue working on other parts of the site, I will need to switch it back to our original theme, and not continue using Twenty Twenty-One until it is time to troubleshoot again. I have attached screenshots for reference, however.
Symptoms:
The language switcher menu items are only displayed in English instead of their native languages.
Questions:
Why does the language switcher not display languages in their native form?
What additional steps can I take to resolve this issue?
I tried to edit the original post to add more screenshots, since I couldn't do it in the initial step (I got an endless spinning icon).
When I only attached more images, I got a message that the title of the support ticket is too long. However, there is no way to edit the title in order to be able to update the ticket. I have added screenshots to show you this as well.
It's great to hear that the issue is fixed. 🙂 Please don't hesitate to open a new ticket if you face any other issues. We are always happy to help you.