הוסף שפת אויגור

סיכום מבוסס בינה מלאכותית

The discussion revolves around adding Uyghur language support to Discourse. Sahran initiated the request, noting that Uyghur translation on Crowdin had reached 53%, and later confirmed it reached 100% 8. gerhard submitted a pull request to add the language, and later addressed a bug related to right-to-left (RTL) text direction, which is required for Uyghur script, similar to Arabic and Hebrew 4. simon pointed out that the language code ug should be added to the rtl_locales method in Discourse’s codebase. Sahran provided detailed language code references, including ISO 639-1 (ug), ISO 639-2 (uig), W3C, Microsoft, and WordPress locale codes (ug-CN). gerhard confirmed the RTL fix would be resolved once a subsequent pull request is merged. The community appreciates the progress, with Uyghur now fully translated and awaiting technical integration.

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

4 לייקים

I created a pull request to add the new language.

https://github.com/discourse/discourse/pull/27183

4 לייקים

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 לייקים

It will need to be added to the rtl_locales method:

I’m assuming the language code is ug

3 לייקים

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

It should be fixed when this PR gets merged.

https://github.com/discourse/discourse/pull/27387

3 לייקים

Uyghur language translation 100% done.

4 לייקים