跳转至内容 跳转至侧边栏

標籤: 

本主题包含 0 則回覆 ,有 0 声音 。

最后由 jakeS-10 2 months, 3 weeks前 更新。

协助者:: Shekhar Bhandari.

作者 帖子
15 5 月, 2025 于 6:17 上午 #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?