On Mon, Dec 12, 2011 at 1:59 PM, coldserenity <[email protected]> wrote:
> Hello,
>
>  Doing a translation I found this message to translate
>    {0,choice,0#No|1#One|1<{0}} included
> {0,choice,0#documents.|1#document:|1}
>
>  So I wonder is it possible to use arithmetic expression like {0}%10 in
> those choice statements because in my language, the noun's ending depends on
> the last digit in a number .
>  Directing me to the page describing full syntax for the language above
> would be enough.

See http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html

Hope this helps,
Marius

>
>  Regards,
> Roman
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Use-complex-expressions-in-i18n-choice-tp7085878p7085878.html
> Sent from the XWiki- Dev mailing list archive at Nabble.com.
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to