[Kbabel] Adding Arabic to Automatic Detection of Plural Forms
Stanislav Visnovsky
visnovsky@nenya.ms.mff.cuni.cz
Thu, 7 Nov 2002 17:37:21 +0100 (CET)
Hi!
On Thu, 7 Nov 2002, Isam Bayazidi wrote:
> It does the trick .. Now Kbabel will automatically detect the number of Plural
> Forms for Arabic .. thanks .. I suppose that it will be merged to the main
> tree soon ..
Commited.
> Now anther probelm related to Plural Forms rise:
> - Strings with Plural Forms had been always detected as Faulty in terms of
> Arguments Check .. As you know with Plural Forms you will repeat arguments
> for every plural form:
> "_n: %1 of 1 Image loaded.\n
> %1 of %n Images loaded..."
>
> In it's translation for Arabic the %n will be repeated 2 times, while %1 will
> be repeated 4 times ( no need to go through details of the plural forms of
> Arabic) .. and I suppose that the case could be the same for other languages
> ..
>
> a Simple thing to do is to bypass Plural Forms Strings when doing the
> Arguments Check .. as they do not comply to 1:1 ratio of arguments between
> original string and translated string .. and at the same time it is not
> always 1:1*n ( while n is the number of plural forms for the language)
> specially for the argument %n that does not necessarily repeat ..
Too bad :-(( It seems like we should add an option to ignore the
plural forms in checks.
Stanislav