Invalid Format: Uncaught SyntaxError for Turkish locale

There’s a problem with the translation of read_more_MF. Currently it looks like this:

Kalan {
UNREAD, plural,
=0 {}
one {
  <a href='/unread'>1 okunmamış</a>
} other {
  <a href='/unread'># okunmamış</a>
}
} {
  NEW, plural,
    =0 {}
    one { {BOTH, select, true{ve} false {} other{}} <a href='/new'>1 yeni</a> konu}
    other { {BOTH, select, true{and } false {} other{}} <a href='/new'># yeni</a> konu}
} var, veya {CATEGORY, select, true { {catLink}} false {{latestLink}} kategorilerindeki diğer {} konulara göz atabilirsiniz }

The problem is in the last part:

var, veya {CATEGORY, select, true { {catLink}} false {{latestLink}} kategorilerindeki diğer {} konulara göz atabilirsiniz }

It’s not possible to have arbitrary text outside the curly braces of the options true, false and other.
I’d suggest something like this, but I need your help in fixing this, since I don’t speak Turkish. :wink:

var, veya {CATEGORY, select, true {kategorilerindeki {catLink}} false {{latestLink}} other {}} konulara göz atabilirsiniz"

Take a look at Message Format support for localization if you want to know more about Message Format.

5 Likes