Hi, could someone tell me of plural formatting is supported on .org? Gaelic (gd) has 4 plural forms and we entered all the forms in the po files but I cannot find any incidences of plurals being handled correctly on the live site, it looks like English plural formatting is used.
-
akerbeltzalba
Reply
Andrew Nacin 3:50 pm on April 4, 2012 Permalink |
Are you referring to Rosetta (local sites, like gd.wordpress.org)? Can you pinpoint specific strings where this is an issue?
Akerbeltz 4:03 pm on April 4, 2012 Permalink |
The wp-admin/options-discussion.php page for example where virtually all the nouns following a box with a number in them are wrong.e.g “Enable nested comments up to [ ] levels”
Andrew Nacin 4:07 pm on April 4, 2012 Permalink |
WordPress fully supports localized plural formatting.
The string you are pointing to is not a candidate for plural localization, however. The number that affects the string is a variable input (the box can be any number, and it could change on that page). Thus, we use a generic plural in the string (“Enable threaded (nested) comments %s levels deep”). We expect that you translate “levels” into an appropriate generic plural for your language, as if you did not have a number to base this on. As an example of the differences, “The people over there” versus “The 53 people over there”.
Zé 4:07 pm on April 4, 2012 Permalink |
Plural forms look correct to me, i.e. I can see the four forms here.
Akerbeltz 4:10 pm on April 4, 2012 Permalink |
Ah ok that explains it, thanks very much guys