Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PluralRules

Maps two-letter ISO language codes to their pluralization rules. PluralRules are used by extensions like TimeFormatter and PluralLocalizationFormatter.
Read time 1 minuteLast updated 12 days ago

Definition

public static class PluralRules

Static Properties

Property

Description

IsoLangToDelegateMapping of each two-letter ISO language code to its PluralRules.PluralRuleDelegate.

Static Methods

Method

Description

GetPluralRuleGets the pluralization rule for the specified language code.

Delegates

Delegate

Description

PluralRules.PluralRuleDelegateDetermines which singular or plural word to use for a given quantity. This allows each language to define its own behavior for singular or plural words.