Add Uyghur language

Uyghur language translation reached 53% on crowdin, Could you add Uyghur language to Discourse? Thanks!

4 Likes

I created a pull request to add the new language.

4 Likes

I greatly appreciate that the Uyghur language has been added to Discourse. The Uyghur language uses Arabic letters and is written from right to left, similar to Arabic and Hebrew. I found a bug in the HTML: the text direction should be set to right to left. Could you fix this bug?

Thanks.

2 Likes

It will need to be added to the rtl_locales method:

I’m assuming the language code is ug

3 Likes

About Uyghur language code:

W3C HTML Language Code Reference

ug

ISO 639-2 Code: uig
ISO 639-1 Code: ug
English name of Language: Uyghur;Uighur
French name of Language: ouïgour
Uyghur name of Language: ئۇيغۇر، ئۇيغۇرچە

Microsoft Windows vista and higher version
language name: Uyghur
MS locale ID: 1152
MS locale ID (Hex): 480
iso-code: ug
Symbolic: Uyghur
Locale name: ug_CN

WordPress local code for Uyghur language:
ug-CN

Thanks.

1 Like

It should be fixed when this PR gets merged.

3 Likes