GetPluralRule(string)
Gets the pluralization rule for the specified language code.
阅读时间1 分钟最后更新于 1 个月前
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