# Add Uyghur language

**URL:** https://meta.discourse.org/t/add-uyghur-language/309466
**Category:** Translations
**Created:** [May 22, 2024, 1:15am UTC](https://meta.discourse.org/t/add-uyghur-language/309466 "2024-05-22T01:15:53Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Sahran](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sahran/32/357391_2.png) [@Sahran](https://meta.discourse.org/u/Sahran)
#### Post date: [May 22, 2024, 1:15am UTC](https://meta.discourse.org/t/add-uyghur-language/309466/1 "2024-05-22T01:15:53Z")

</div>

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

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [May 26, 2024, 4:49pm UTC](https://meta.discourse.org/t/add-uyghur-language/309466/2 "2024-05-26T16:49:55Z")

</div>

I created a pull request to add the new language.

[https://github.com/discourse/discourse/pull/27183](https://github.com/discourse/discourse/pull/27183)

---

<div class="post-metadata">

### Author: ![Sahran](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sahran/32/357391_2.png) [@Sahran](https://meta.discourse.org/u/Sahran)
#### Post date: [May 28, 2024, 1:18am UTC](https://meta.discourse.org/t/add-uyghur-language/309466/4 "2024-05-28T01:18:06Z")

</div>

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.

 ![Discourse-Project-RTL-UG-01](https://global.discourse-cdn.com/meta/original/4X/7/9/5/79566d92188cfdb1000418f07e9106a551ad275c.png)

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [May 28, 2024, 4:15am UTC](https://meta.discourse.org/t/add-uyghur-language/309466/5 "2024-05-28T04:15:59Z")

</div>

It will need to be added to the `rtl_locales` method:

> <https://github.com/discourse/discourse/blob/9c85ea5945eccf55351e9c877ab7c1c41803ba32/lib/rtl.rb#L22-L24>

I’m assuming the language code is `ug`

---

<div class="post-metadata">

### Author: ![Sahran](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sahran/32/357391_2.png) [@Sahran](https://meta.discourse.org/u/Sahran)
#### Post date: [May 28, 2024, 11:06pm UTC](https://meta.discourse.org/t/add-uyghur-language/309466/6 "2024-05-28T23:06:14Z")

</div>

About Uyghur language code:

W3C [HTML Language Code Reference](https://www.w3schools.com/tags/ref_language_codes.asp)

ug

[ISO 639-2 Code](http://www.loc.gov/standards/iso639-2/php/code_list.php): 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.

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [June 8, 2024, 4:12pm UTC](https://meta.discourse.org/t/add-uyghur-language/309466/7 "2024-06-08T16:12:08Z")

</div>

It should be fixed when this PR gets merged.

[https://github.com/discourse/discourse/pull/27387](https://github.com/discourse/discourse/pull/27387)

---

<div class="post-metadata">

### Author: ![Sahran](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sahran/32/357391_2.png) [@Sahran](https://meta.discourse.org/u/Sahran)
#### Post date: [May 15, 2025, 12:27pm UTC](https://meta.discourse.org/t/add-uyghur-language/309466/8 "2025-05-15T12:27:30Z")

</div>

Uyghur language translation 100% done.

 ![The image displays the status of various languages in translation on the Discourse platform, showing progress percentages and options for requesting new languages. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/d/a/3/da3842e00f78afa1eb5d7dfefae39a4edb21e853.png)
