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

Re: [Translation-i18n] gettext with non-en source language

29 січня 2007 о 14:13 +0000 MJ Ray написав(-ла):
> Could the gettext manual be clearer and state that it is possible?
> English-language advocacy seems particularly inappropriate there of
> all places.
It's only posible if:
1. You do not use non-ascii characters, otherwise your program will work
with only one encoding (for source languages, it will work as expected
for translations).
2. Source language has the same rules for singular/plural as English
(nplurals=2; plural = n != 1). It will work for Esperanto, according to
gettext doc. It will work for languages that do not have plural
(Japanese,...), but in this case you'll need repeat the string. But go try
to create pot file with Ukrainian as source language with 3 forms.

Eugeniy Meshcheryakov

Attachment: signature.asc
Description: Digital signature

Reply to: