Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Kyiv (GMT+02:00)

This topic contains 2 replies, has 1 voice.

Last updated by Andrey 2 days, 15 hours ago.

Assisted by: Andrey.

Author Posts
March 2, 2026 at 7:07 pm #17866175

martinR-113

I am having issues with my language slug i would like for example for britain to be /uk instead of en-GB

March 2, 2026 at 7:16 pm #17866188

martinR-113

how can i fix my slug from /en-gb to uk and so on for other languages

March 2, 2026 at 9:10 pm #17866292

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for contacting WPML support.

The language code uk is already assigned to another language — specifically, to the default pre-configured Ukrainian language in WPML.

To make a change, activate Ukrainian in WPML → Languages. Edit the Ukrainian language and change the language name to English, the locale to English, and the rest to English.

You might get a warning message stating that the English locale is already in use when attempting to change it in Ukrainian language. In that case, you need to edit the English language and change the default locale to something else. Once the default locale is free, you can assign it to another language.

Since the language code uk already exists and cannot be changed, that is the only way to do it.

https://wpml.org/documentation/getting-started-guide/language-setup/editing-wpmls-languages-table/#add-custom-languages