# Problem with a MessageFormat string Arabic translation

**URL:** https://meta.discourse.org/t/problem-with-a-messageformat-string-arabic-translation/59375
**Category:** Translations
**Created:** [March 17, 2017, 8:11pm UTC](https://meta.discourse.org/t/problem-with-a-messageformat-string-arabic-translation/59375 "2017-03-17T20:11:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![SafaAlfulaij](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/safaalfulaij/32/120867_2.png) [@SafaAlfulaij](https://meta.discourse.org/u/SafaAlfulaij)
#### Post date: [March 17, 2017, 8:11pm UTC](https://meta.discourse.org/t/problem-with-a-messageformat-string-arabic-translation/59375/1 "2017-03-17T20:11:52Z")

</div>

I’m seeing that the Arabic final output translation of a MessageFormat string is not right.  
Check the text that appears at the end of the topic saying you have # of unread topics and such..  
 ![](https://global.discourse-cdn.com/meta/original/3X/2/8/2874e59b5ad99b51a1e19670c95b2592d05df4d8.PNG)  
Which says:

```
You have 0 topics unread, or browse other topics in category

```

But clicking the link shows me 3 unread topics.  
Is it because I missed something with the translation? It’s a bit long yes, but I can’t see any problems in it..  
This is the string: [https://www.transifex.com/discourse/discourse-org/translate/#ar/clientenyml/13697764](https://www.transifex.com/discourse/discourse-org/translate/#ar/clientenyml/13697764)  
According to the translation, the “zero” form shouldn’t produce anything.  
It is using the “few” form.

```
{UNREAD, plural, zero {} one {تبقى {BOTH, select, true {<a href='/unread'>موضوع واحد غير مقروء</a> و} false {<a href='/unread'>موضوع واحد غير مقروء</a>} other {}}} two {تبقى {BOTH, select, true {<a href='/unread'>موضوعان غير مقروءان</a> و} false {<a href='/unread'>موضوعان غير مقروءان</a>} other {}}} few {تبقت {BOTH, select, true {<a href='/unread'># مواضيع غير مقروءة</a> و} false {<a href='/unread'># مواضيع غير مقروءة</a>} other {}}} many {تبقى {BOTH, select, true {<a href='/unread'># موضوعا غير مقروء</a> و} false {<a href='/unread'># موضوعا غير مقروء</a>} other {}}} other {تبقى {BOTH, select, true {<a href='/unread'># موضوع غير مقروء</a> و} false {<a href='/unread'># موضوع غير مقروء</a>} other {}}}}{NEW, plural, zero {} one {{UNREAD, plural, zero {تبقى } one {} two {} few {} many {} other {}}<a href='/new'>موضوع واحد جديد</a>} two {{UNREAD, plural, zero {تبقى } one {} two {} few {} many {} other {}}<a href='/new'>موضوعان جديدان</a>} few {{UNREAD, plural, zero {تبقت } one {} two {} few {} many {} other {}}<a href='/new'># مواضيع جديدة</a>} many {{UNREAD, plural, zero {تبقى } one {} two {} few {} many {} other {}}<a href='/new'># موضوعا جديدا</a>} other {{UNREAD, plural, zero {تبقى } one {} two {} few {} many {} other {}}<a href='/new'># موضوع جديد</a>}}، أو {CATEGORY, select, true {تصفّح المواضيع الأخرى في {catLink}} false {{latestLink}} other {}}

```

---

<div class="post-metadata">

### Author: ![SafaAlfulaij](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/safaalfulaij/32/120867_2.png) [@SafaAlfulaij](https://meta.discourse.org/u/SafaAlfulaij)
#### Post date: [March 18, 2017, 5:31am UTC](https://meta.discourse.org/t/problem-with-a-messageformat-string-arabic-translation/59375/2 "2017-03-18T05:31:07Z")

</div>

What the problem seems to be is that “0” is the number, instead of “3”…  
The first 3 forms works fine (zero one two).

---

<div class="post-metadata">

### Author: ![SafaAlfulaij](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/safaalfulaij/32/120867_2.png) [@SafaAlfulaij](https://meta.discourse.org/u/SafaAlfulaij)
#### Post date: [March 18, 2017, 7:43am UTC](https://meta.discourse.org/t/problem-with-a-messageformat-string-arabic-translation/59375/3 "2017-03-18T07:43:00Z")

</div>

Ok, it is my mistake that I used the # parameter in a select command.  
I fixed it. Thanks.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [March 18, 2017, 8:34am UTC](https://meta.discourse.org/t/problem-with-a-messageformat-string-arabic-translation/59375/4 "2017-03-18T08:34:33Z")

</div>


