Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pluralRule in Macedonian (mk): #1 or #14?

8 views
Skip to first unread message

fcp

unread,
Dec 20, 2009, 4:11:17 PM12/20/09
to
Hi,

According to the following page in MDC
https://developer.mozilla.org/en/Localization_and_Plurals
the plural rule in Macedonian is #14. However, the chrome://global/locale/intl.properties
file in Macedonian
http://hg.mozilla.org/l10n-central/mk/file/8ecfe9959c9d/toolkit/chrome/global/intl.properties
specifies pluralRule=1.

Assuming that the MDC article is correct, this seems to imply that in
the Macedonian version of Firefox (say), nouns are in an incorrect
form e.g. when the number is one of 11, 21, 31, …. (I do not speak
Macedonian and I cannot verify it by myself, though.)

Does anyone know why the pluralRule is not specified to 14? (My wild
guess: in order to work around bug 473706?) I would like to know this
to figure out what is the best way to handle the Macedonian locale in
the extension which I am developing. Thanks for your help.

Best regards,
fcp

Axel Hecht

unread,
Dec 21, 2009, 10:16:00 AM12/21/09
to
On 20.12.09 22:11, fcp wrote:
> Hi,
>
> According to the following page in MDC
> https://developer.mozilla.org/en/Localization_and_Plurals
> the plural rule in Macedonian is #14. However, the chrome://global/locale/intl.properties
> file in Macedonian
> http://hg.mozilla.org/l10n-central/mk/file/8ecfe9959c9d/toolkit/chrome/global/intl.properties
> specifies pluralRule=1.
>
> Assuming that the MDC article is correct, this seems to imply that in
> the Macedonian version of Firefox (say), nouns are in an incorrect
> form e.g. when the number is one of 11, 21, 31, �. (I do not speak

> Macedonian and I cannot verify it by myself, though.)
>
> Does anyone know why the pluralRule is not specified to 14? (My wild
> guess: in order to work around bug 473706?) I would like to know this
> to figure out what is the best way to handle the Macedonian locale in
> the extension which I am developing. Thanks for your help.
>
> Best regards,
> fcp

https://bugzilla.mozilla.org/show_bug.cgi?id=467547 has a bug on that,
which should get some traction, I guess.

Axel

fcp

unread,
Dec 21, 2009, 11:23:55 AM12/21/09
to
Hi Axel,

> https://bugzilla.mozilla.org/show_bug.cgi?id=467547 has a bug on that,
> which should get some traction, I guess.

I was about to file a bug. Reading that bug, now I can see that this
is more complicated than I thought.... Thank you for the info!

Best,
fcp

Michael Wolf

unread,
Dec 21, 2009, 12:22:32 PM12/21/09
to
fcp napisa:

There was a discussion on the support site of www.translatewiki.net, the
translation site for all Wikimedia projects:


http://translatewiki.net/wiki/Support#PLURAL_in_macedonian_9

According to that discussion neither rule 1 nor rule 14 seems to be
correct since e.g. the number 11 is an exception.

Regards,
Michael

Дамјан Георгиевски

unread,
Dec 21, 2009, 5:14:25 PM12/21/09
to

Thinking about it now, the rule should be:
1 21 31 .. 101 121 131 .. 1001 1021
0 2 3 4 5 6 7 8 9 10 11 12 ... 20 22... 111 ..120 122 .. 1011

I wonder what the source for rule 14 is? but I can't find any logic in
it. 1 and 11 definitely have different plurals.


--
дамјан ((( http://damjan.softver.org.mk/ )))

Please remember 43% of statistics are made on the spot.

Axel Hecht

unread,
Dec 21, 2009, 6:00:25 PM12/21/09
to
On 21.12.09 23:14, Дамјан Георгиевски wrote:
>>> https://bugzilla.mozilla.org/show_bug.cgi?id=467547 has a bug on
>>> that, which should get some traction, I guess.
>>
>> I was about to file a bug. Reading that bug, now I can see that this
>> is more complicated than I thought.... Thank you for the info!
>
> Thinking about it now, the rule should be:
> 1 21 31 .. 101 121 131 .. 1001 1021
> 0 2 3 4 5 6 7 8 9 10 11 12 ... 20 22... 111 ..120 122 .. 1011
>
> I wonder what the source for rule 14 is? but I can't find any logic in
> it. 1 and 11 definitely have different plurals.
>
>

I thought we copied what gettext has. Can't find a reference there, though.

Feel free to file bugs or morph the existing one as you see fit.

Axel

Rimas Kudelis

unread,
Dec 22, 2009, 5:53:13 AM12/22/09
to

You may have copied that badly. I also have a small problem with it:

Lithuanian has tree plural forms, that first occur with numbers 1, 2,
and 10. This is the order in which gettext sorts them. But for some
reason Gecko sorts them differently: 1, 10, and 2. That still works of
course, but is uselessly inconsistent with gettext.

I don't know if I should report that as a bug, or just leave it. Even if
I do report, what are the chances to see this changed? Or would it mean
yet another plural rule would be added?

Rimas

Axel Hecht

unread,
Dec 22, 2009, 8:10:44 AM12/22/09
to

File a bug and CC me, and we'll figure out how to solve it.

Axel

fcp

unread,
Dec 23, 2009, 6:44:04 PM12/23/09
to
Hi дамјан,

> Thinking about it now, the rule should be:
> 1 21 31 .. 101 121 131 .. 1001 1021
> 0 2 3 4 5 6 7 8 9 10 11 12 ... 20 22... 111 ..120 122 .. 1011

Does this mean that in Macedonian, the number 0 is treated in the same
way as 2, 3, 4 and so on? If so, that looks exactly like rule #15
(instead of rule #3 as stated in the description of bug 467547).

Best,
fcp

0 new messages