GetPluralRule(string)
Gets the pluralization rule for the specified language code.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.SmartStrings.Utilities
- Assembly: UnityEngine.SmartStringsModule
public static PluralRules.PluralRuleDelegate GetPluralRule(string twoLetterIsoLanguageName)
Parameters
The language code in two-letter ISO-639 format.
Returns
Type | Description |
|---|---|
| PluralRuleDelegate | The PluralRules.PluralRuleDelegate that selects the plural form for the specified language. |
Remarks
The pluralization rules are taken from http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html