[cfe-dev] Diagnostic Improvements

Chris Lattner clattner at apple.com
Sun Nov 16 23:51:04 PST 2008


On Nov 16, 2008, at 11:08 PM, Daniel Dunbar wrote:
> On Sun, Nov 16, 2008 at 10:47 PM, Nico Weber <nicolasweber at gmx.de>
> wrote:
>> Hi,
>>
>> On 16.11.2008, at 21:25, Chris Lattner wrote:
>>
>>> Where %u1 prints the unsigned, and %up1 (p=plural, or pick a better
>>> letter) prints a "s" if the unsigned is != 1, or nothing if it is.
>>
>>
>> This is not very localizable. First, some languages have more than
>> one
>
> Indeed. See http://www.gnu.org/software/automake/manual/gettext/Plural-forms.html
> for more detail on this issue and gettext's solution.


In fact, for exactly the issues raised in this section (great stuff,  
thanks for the link!), the current foo and foo_plural approach is  
broken for translating into Polish.

-Chris



More information about the cfe-dev mailing list