Re: Managing plurals



2008.08.09 20:00 Leonardo F. Fontenelle rašė:
> Em Sex, 2008-08-08 às 21:30 +0200, Ignacio Casal Quinteiro escreveu:
>> Hi,
>>
>> gtranslator right now is using a kbabel like style for plurals based
>> on tabs.
>> So I have: msgid with 2 tabs (Singular|Plural)
>> and msgstr with N tabs (Singular|Plural 1 ...)
>>
>> I want to add that when you are in a message with plurals and you are
>> in the
>> singular tab of msgstr and you press next message, I want to do that
>> gtranslator
>> switch to the Plural 1 tab, if you press again Pural 2 ...
>> Another thing that I want to do is that if you are in Plural X on
>> msgstr gtranslator
>> switches automatically to the Plural 1 of msgid and if I come back to
>> Singular of
>> msgstr switch automatically to Singular of msgid.
>>
>> As I only know about languages with 2 plurals here is the question:
>>
>> Can I do this? I mean in Spanish/Galician if you in Plural 1 you want
>> to see the Plural
>> tab of msgid but is this user case possible in other languages?
>>
>
> This would work for Portuguese, too (big surprise :) ) but probably not
> for languages with n!=2.
>
> Honestly I don't like tabs for msgid plurals. There will be always two
> of them, ...

Some languages have only one form.

-- 
Tomas




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]