Skip Navigation

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.

Tagged: 

This topic contains 4 replies, has 1 voice.

Last updated by Osama Mersal 4 days, 14 hours ago.

Assisted by: Osama Mersal.

Author Posts
December 17, 2024 at 4:03 am #16519493

barjD-2

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?

December 17, 2024 at 4:09 am #16519593

barjD-2

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.

Screenshot 2024-12-16 at 8.06.04 PM.png
Screenshot 2024-12-16 at 8.05.49 PM.png
Screenshot 2024-12-16 at 8.01.23 PM.png
Screenshot 2024-12-16 at 7.54.37 PM.png
Screenshot 2024-12-16 at 7.54.21 PM.png
December 17, 2024 at 12:52 pm #16521825

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Please check the following steps:

1- Go to WPML-> Languages-> Edit Languages
2- Change the Punjabi's language Translation (Punjabi) to ਪੰਜਾਬੀ
3- Click Save

After that, please check the language switcher on the front end.

I applied the above steps on a hidden link">sandbox site. Please check the hidden link">footer language switcher.

Best regards,
Osama

December 17, 2024 at 7:13 pm #16523236

barjD-2

Thank you very much. This worked.

May I suggest that these instructions be added to this article? https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/

I was reading through that and it did not mention the instructions you have offered.

December 18, 2024 at 8:57 am #16524799

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

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.

Have a great day!

Best regards,
Osama