Namespace UnityEngine.Localization.SmartFormat.Utilities
Classes
CommonLanguagesTimeTextInfo
FormatDelegate
This class wraps a delegate, allowing it to be used as a parameter to any string-formatting method (such as Format(String, Object)). For example:
var textWithLink = String.Format("Please click on {0:this link}.", new FormatDelegate((text) => Html.ActionLink(text, "SomeAction"));
PluralRules
Assigns the ISO language code to a pluralization rule.
TimeSpanUtility
TimeTextInfo
Supplies the localized text used for TimeSpan formatting.
Enums
TimeSpanFormatOptions
Determines all options for time formatting.
This one value actually contains 4 settings:
Abbreviate
/ AbbreviateOff
LessThan
/ LessThanOff
Truncate
Auto
/ Shortest
/ Fill
/ Full
Range
MilliSeconds
/ Seconds
/ Minutes
/ Hours
/ Days
/
Weeks
(Min / Max)
Delegates
PluralRules.PluralRuleDelegate
This delegate determines which singular or plural word should be chosen for the given quantity. This allows each language to define its own behavior for singular or plural words.