Skip to content Skip to sidebar

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

Problem:
You want to display only the language code in the dropdown instead of the full language name.
Solution:
We recommend enabling language names in the switcher and then navigating to WPML -> Language -> Edit Language. Here, you can rename the language names to their respective codes, such as 'EN' instead of 'English'. This adjustment should resolve your issue. For more detailed instructions, please visit our documentation on editing WPML's languages table.

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 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 1 replies, has 0 voices.

Last updated by Shekhar Bhandari 1 month, 1 week ago.

Assisted by: Shekhar Bhandari.

Author Posts
February 20, 2026 at 6:51 am #17837516

pedroF-15

Hi I want to show only Language code in the dropdown instead of Langauge full name, how do I achieve it

February 20, 2026 at 7:24 am #17837530

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for contacting WPML support. I'd be happy to assist you on this issue.

You can enable languages names in the switcher and go to WPML->Language->Edit Language and rename the languages names as EN instead of English, this should fix the issue.
https://wpml.org/documentation/getting-started-guide/language-setup/editing-wpmls-languages-table/#language-configuration-fields-defined

Let me know if this helps.

Thanks