Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Irish plural form is incorrect #3255

Closed
dwaynebailey opened this issue Mar 11, 2015 · 2 comments
Closed

Irish plural form is incorrect #3255

dwaynebailey opened this issue Mar 11, 2015 · 2 comments

Comments

@dwaynebailey
Copy link
Member

I'm looking at moving my PO files onto Pootle now. One thing I'm
worried about are the plural forms. It looks like Pootle thinks Irish
has 3 plural forms, which stems from an old old bug on the gettext web
site

http://www.gnu.org/savannah-checkouts/gnu/gettext/manual/html_node/Plural-forms.html

This is wrong, and it's been corrected in CLDR and everywhere else
that I can think of. The correct plural form string is this one:

"Plural-Forms: nplurals=5; plural=n==1 ? 0 : n==2 ? 1 : (n>2 && n<7) ?
2 :(n>6 && n<11) ? 3 : 4;\n"

Even if there are no plurals in the Mozilla strings, it would be
helpful to have this correct since it gets added to the exported PO
files in the mozilla-lang repo, and when the plural form string is
wrong, it makes it a pain to include the files in a big
compendium/translation memory.

@kscanne
Copy link

kscanne commented Mar 11, 2015

That's strange. It looks like you already had 5 plural forms. But the MozillaPootleL10nBot includes nplurals=3 when committing to git:

https://github.com/translate/mozilla-lang/blame/master/ga_IE/esr.lang.po#L14

dwaynebailey added a commit to translate/l10n-guide that referenced this issue Mar 11, 2015
@dwaynebailey
Copy link
Member Author

@kscanne I think its a combination of outdated toolkit and outdated Irish entry on mlo. I'm slowly fixing them all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants