|
From: | Paul Eggert |
Subject: | Re: Emacs i18n |
Date: | Sat, 9 Mar 2019 22:14:57 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 |
Richard Stallman wrote:
> "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 > && (n%100<10 || n%100>=20) ? 1 : 2);\n" It would be better if we can define these criteria just once, rather than restate them in many places.
The criteria are stated just once per translation catalog. For example, the "Plural-forms:" line appears just once in the Russian translation catalog for coreutils. The criteria need not be repeated for each translated message.
If Emacs ends up having dozens or hundreds of message catalogs, it may be worth looking into maintaining just one copy of the Russian criteria, rather than once per Russian translation catalog. I hope we don't go that route, though.
[Prev in Thread] | Current Thread | [Next in Thread] |