diff --git a/_docs/L10N.md b/_docs/L10N.md index 5e1c527..769a651 100644 --- a/_docs/L10N.md +++ b/_docs/L10N.md @@ -230,14 +230,14 @@ Additionally, as you might've noticed in the above example, the fallback L10N ar #### What rules to use for what language? -*The information listed in the table below is generally based upon [Unicode's CLDR page on Language Plural Rules](https://www.unicode.org/cldr/charts/45/supplemental/language_plural_rules.html) (which also serves as the general basis for the rules for [grammatical number](https://en.wikipedia.org/wiki/Grammatical_number) supported by the class). Information based upon other sources will be marked accordingly. If any of the listed information is wrong, erroneous, or incomplete, any corrections, additions, etc that you can think of would be invited and welcome (please create a pull request, or create an [issue](https://github.com/Maikuolan/Common/issues) if creating a pull request isn't possible). Please also be aware that I am NOT a professional linguist! If you ask me for the correct rules to use for a particular language, I'll only be able to answer if I'm able to find a reliable source somewhere online to help determine that information.* +*The information listed in the table below is generally based upon [Unicode's CLDR page on Language Plural Rules](https://www.unicode.org/cldr/charts/46/supplemental/language_plural_rules.html) (which also serves as the general basis for the rules for [grammatical number](https://en.wikipedia.org/wiki/Grammatical_number) supported by the class). Information based upon other sources will be marked accordingly. If any of the listed information is wrong, erroneous, or incomplete, any corrections, additions, etc that you can think of would be invited and welcome (please create a pull request, or create an [issue](https://github.com/Maikuolan/Common/issues) if creating a pull request isn't possible). Please also be aware that I am NOT a professional linguist! If you ask me for the correct rules to use for a particular language, I'll only be able to answer if I'm able to find a reliable source somewhere online to help determine that information.* *†1: Language isn't listed on Unicode's CLDR page, but the required information for it can be found elsewhere (if a single, particular information source is the sole or primarily used information source, it will be linked next to the language, where this mark occurs).* Language | `IntegerRule` | `FractionRule` | Notes :--|:--|:--|:-- `********************************` | `********` | `********` | `********` -Afrikaans
Albanian (Shqipe)
Aragonese
Asturian (Asturianu)
Asu
Azerbaijani (Azərbaycan)
Balochi (بلۏچی)
Basque (Euskara)
Bemba
Bena
Bodo (बड़ो)
Bulgarian (Български)
Catalan (Català)
Chechen
Cherokee (ᏣᎳᎩ)
Chiga
Divehi
Dutch (Nederlandse)
English
Esperanto
Estonian (Eesti keel)
European Portuguese (Português)
Ewe (Eʋegbe)
Faroese (Føroyskt)
Finnish (Suomi)
Friulian
Galician (Galego)
Ganda (LùGáànda)
Georgian (ქართული)
German (Deutsch)
Greek (Ελληνικά)
Greenlandic (Kalaallisut)
Hausa (حَوْسَ)
Hawaiian (ʻōlelo Hawaiʻi)
Hungarian (Magyar)
Ido
Interlingua
Italian (Italiano)
Jju
Kako
Kashmiri (कॉशुर, كٲشُر)
Kazakh (Қазақ тілі)
Kurdish (Kurdî)
Kyrgyz (Кыргыз тили)
Ligurian
Luxembourgish (Lëtzebuergesch)
Machame
Malayalam (മലയാളം)
Marathi (मराठी)
Masai
Maori (Māori) *[†1](https://en.wikipedia.org/wiki/M%C4%81ori_language)*
Metaʼ
Mongolian (Монгол)
Nahuatl (Nāhuatl)
Ndebele
Nepali (नेपाली)
Ngiemboon
Ngomba
Norwegian (Norsk)
Norwegian Bokmål
Norwegian Nynorsk
Nyanja
Nyankole
Odia (ଓଡ଼ିଆ)
Oromo (ኦሮሞ፞)
Ossetic
Papiamento (Papiamentu)
Pashto (پښتو)
Romansh (Rumantsch)
Rombo
Rwa
Saho
Samburu
Samoan
Sardinian (Limba Sarda)
Scots *[†1](http://www.scots-online.org/grammar/numbers.asp)*
Sena
Shambala
Shona
Sicilian (Sicilianu)
Sindarin *[†1](https://en.wikipedia.org/wiki/Sindarin)*
Sindhi (سنڌي)
Soga
Somali (Soomaaliga)
Southern Sotho (Sesotho)
Spanish (Español)
Swahili (Kiswahili)
Swati
Swedish (Svenska)
Swiss German
Syriac (ܠܫܢܐ ܣܘܪܝܝܐ)
Tamil (தமிழ்)
Telugu (తెలుగు)
Teso
Tigre (ትግረ, ትግሬ)
Tsonga (xiTsonga)
Tswana (Setswana)
Turkish (Türkçe)
Turkmen (Түркmенче)
Tyap
Urdu (‏اردو‏)
Uyghur (ئۇيغۇرچە, Уйғурчә)
Uzbek (O'zbek)
Venda (tshiVenḓa)
Volapük
Vunjo
Walser
Western Frisian (Frysk)
Xhosa (isiXhosa)
Yiddish (ייִדיש) | `int2Type4` | `int1` +Afrikaans
Albanian (Shqipe)
Aragonese
Asturian (Asturianu)
Asu
Azerbaijani (Azərbaycan)
Balochi (بلۏچی)
Basque (Euskara)
Bemba
Bena
Bodo (बड़ो)
Bulgarian (Български)
Catalan (Català)
Chechen
Cherokee (ᏣᎳᎩ)
Chiga
Divehi
Dutch (Nederlandse)
English
Esperanto
Estonian (Eesti keel)
European Portuguese (Português)
Ewe (Eʋegbe)
Faroese (Føroyskt)
Finnish (Suomi)
Friulian
Galician (Galego)
Ganda (LùGáànda)
Georgian (ქართული)
German (Deutsch)
Greek (Ελληνικά)
Greenlandic (Kalaallisut)
Hausa (حَوْسَ)
Hawaiian (ʻōlelo Hawaiʻi)
Hungarian (Magyar)
Ido
Interlingua
Italian (Italiano)
Jju
Kako
Kashmiri (कॉशुर, كٲشُر)
Kazakh (Қазақ тілі)
Kurdish (Kurdî)
Kyrgyz (Кыргыз тили)
Ladin
Ligurian
Luxembourgish (Lëtzebuergesch)
Machame
Malayalam (മലയാളം)
Marathi (मराठी)
Masai
Maori (Māori) *[†1](https://en.wikipedia.org/wiki/M%C4%81ori_language)*
Metaʼ
Mongolian (Монгол)
Nahuatl (Nāhuatl)
Ndebele
Nepali (नेपाली)
Ngiemboon
Ngomba
Norwegian (Norsk)
Norwegian Bokmål
Norwegian Nynorsk
Nyanja
Nyankole
Odia (ଓଡ଼ିଆ)
Oromo (ኦሮሞ፞)
Ossetic
Papiamento (Papiamentu)
Pashto (پښتو)
Romansh (Rumantsch)
Rombo
Rwa
Saho
Samburu
Samoan
Sardinian (Limba Sarda)
Scots *[†1](http://www.scots-online.org/grammar/numbers.asp)*
Sena
Shambala
Shona
Sicilian (Sicilianu)
Sindarin *[†1](https://en.wikipedia.org/wiki/Sindarin)*
Sindhi (سنڌي)
Soga
Somali (Soomaaliga)
Southern Sotho (Sesotho)
Spanish (Español)
Swahili (Kiswahili)
Swati
Swedish (Svenska)
Swiss German
Syriac (ܠܫܢܐ ܣܘܪܝܝܐ)
Tamil (தமிழ்)
Telugu (తెలుగు)
Teso
Tigre (ትግረ, ትግሬ)
Tsonga (xiTsonga)
Tswana (Setswana)
Turkish (Türkçe)
Turkmen (Түркmенче)
Tyap
Urdu (‏اردو‏)
Uyghur (ئۇيغۇرچە, Уйғурчә)
Uzbek (O'zbek)
Venda (tshiVenḓa)
Volapük
Vunjo
Walser
Western Frisian (Frysk)
Xhosa (isiXhosa)
Yiddish (ייִדיש) | `int2Type4` | `int1` Akan
Bihari
Gun
Klingon (tlhIngan Hol,  ) *[†1](https://en.wikibooks.org/wiki/Klingon/Grammar/Plurals)*
Lingala (Lingála)
Malagasy
Northern Sotho (Sesotho)
Punjabi (ਪੰਜਾਬੀ) *‡1*
Sinhala (සිංහල)
Tigrinya (ትግርኛ)
Walloon (Walon) | `int2Type3` | `int1` | *‡1: Classification includes (groups together with): Changvi, Chenavari, Dhani, Doabi, Hindko, Jafri, Jangli, Jhangochi, Khetrani, Lahnda, Majhi, Malwai, Pahari-Potowari, Panjistani, Pothohari, Puadhi, Rachnavi, Saraiki, Shahpuri.* Amharic (አማርኛ)
Assamese (অসমীয়া)
Bangla/Bengali (বাংলা)
Dogri (𑠖𑠵𑠌𑠤𑠮)
Gujarati (ગુજરાતી)
Hindi (हिंदी)
Kannada (ಕನ್ನಡ)
Nigerian Pidgin
Persian/Farsi (فارسی)
Zulu (isiZulu) | `int2Type3` | `fraction2Type2` Arabic (العربية) *‡1* | `int6Type1` | `int1` | *‡1: CLDR's information suggests 6 distinct grammatical numbers used, but I haven't been able to successfully replicate this via online translators or dictionaries in most cases, so I'm not entirely sure about it.* @@ -480,4 +480,4 @@ This means, that in theory, you could have an unlimited number of languages as f --- -Last Updated: 2 March 2024 (2024.03.02). +Last Updated: 22 June 2024 (2024.06.22). diff --git a/src/L10N.php b/src/L10N.php index 2fe5d08..36c49c4 100644 --- a/src/L10N.php +++ b/src/L10N.php @@ -1,6 +1,6 @@