Skip to content Skip to sidebar

Tagged: 

This topic contains 0 reply, has 0 voices.

Last updated by jakeS-10 2 months, 1 week ago.

Assisted by: Shekhar Bhandari.

Author Posts
May 15, 2025 at 6:17 am #17035050

jakeS-10

Background of the issue:
I'm using WPML and I want to translate the UK version of the website. However, WPML doesn't support 'UK' as a default language code, so I'm trying to add it as a custom language. The problem is that the slug /uk is already assigned to the default WPML language, Ukrainian, so it doesn't allow me to use uk as the language code for my custom language. My requirement is to use /uk as the URL slug for my custom language only (not for Ukrainian).

Symptoms:
WPML doesn't allow me to use /uk as the language code for my custom language because it is already assigned to Ukrainian.

Questions:
Is there any solution that would allow me to use /uk as the slug for my custom language?