Portal talk:Gd/LiquidThreads
- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
Changes in plural for Scots Gaelic (gd) in MediaWiki | 1 | 13:22, 17 December 2013 |
Documentation of plural rules | 0 | 17:49, 28 April 2012 |
Per end of February 2013, the plural rules for Scots Gaelic (gd) have changed. Before they were as follows (6 forms):
n is 1 n is 2 n is 11 n is 12 n in 3..10 or n in 13..19 n in none of the above
They now will be consistent with the plural rules for Scots Gaelic (gd) as defined in CLDR (4 forms):
n in 1,11 n in 2,12 n in 3..10,13..19 n in none of the above
Future changes in the plural handling for Scots Gaelic (gd) will only come into MediaWiki through changes in the plural rules of CLDR.
As a consequence, all translations for language code "gd" in the MediaWiki namespace containing PLURAL have been marked as outdated, and should be updated as soon as possible. Until the translations have been corrected, the fourth form ("none of the above") will display the old fourth form (that of 12) for outdated translations.
This message will be linked on the talk pages of recent translators for the language as well as by e-mail and in the language's Wikipedia village pump. Because of this change, backporting of translations to recent version of MediaWiki will most probably not be possible until the lowest supported version is MediaWiki 1.21.
With this change, it will also be possible to add arbitrary plural forms in MediaWiki interface messages that process the PLURAL directive. Example for English:
<nowiki>no birds<nowiki>
In this example, the "0=" and "15=" forms will only be used if $1 is exactly that number, the first unnumbered form ("one bird") will be used for singular ($1 is 1), and the second unnumbered form ("$1 birds") is used for all values of $1 but 0, 1 and 15.
I have drafted a list of Mediawiki plural rules for all languages. I would be grateful if a translator could check that the rules for Scottish Gaelic are correctly recorded in the list. If I have made a mistake please go ahead and correct it.