docs.unity3d.com
    Show / Hide Table of Contents

    Class PluralLocalizationFormatter

    Inheritance
    Object
    FormatterBase
    PluralLocalizationFormatter
    Inherited Members
    FormatterBase.Names
    FormatterBase.OnAfterDeserialize()
    FormatterBase.OnBeforeSerialize()
    Namespace: UnityEngine.Localization.SmartFormat.Extensions
    Syntax
    public class PluralLocalizationFormatter : FormatterBase, IFormatter, ISerializationCallbackReceiver

    Constructors

    PluralLocalizationFormatter()

    Declaration
    public PluralLocalizationFormatter()

    Properties

    DefaultNames

    Declaration
    public override string[] DefaultNames { get; }
    Property Value
    Type Description
    String[]
    Overrides
    FormatterBase.DefaultNames

    DefaultTwoLetterISOLanguageName

    Declaration
    public string DefaultTwoLetterISOLanguageName { get; set; }
    Property Value
    Type Description
    String

    Methods

    GetPluralRule(IFormattingInfo)

    Declaration
    protected virtual PluralRules.PluralRuleDelegate GetPluralRule(IFormattingInfo formattingInfo)
    Parameters
    Type Name Description
    IFormattingInfo formattingInfo
    Returns
    Type Description
    PluralRules.PluralRuleDelegate

    TryEvaluateAllLiterals(IFormattingInfo)

    Declaration
    public override bool TryEvaluateAllLiterals(IFormattingInfo formattingInfo)
    Parameters
    Type Name Description
    IFormattingInfo formattingInfo
    Returns
    Type Description
    Boolean
    Overrides
    FormatterBase.TryEvaluateAllLiterals(IFormattingInfo)

    TryEvaluateFormat(IFormattingInfo)

    Declaration
    public override bool TryEvaluateFormat(IFormattingInfo formattingInfo)
    Parameters
    Type Name Description
    IFormattingInfo formattingInfo
    Returns
    Type Description
    Boolean
    Overrides
    FormatterBase.TryEvaluateFormat(IFormattingInfo)

    Extension Methods

    TupleExtensions.IsValueTuple(Object)
    TupleExtensions.GetValueTupleItemObjects(Object)
    TupleExtensions.GetValueTupleItemObjectsFlattened(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023