Search Results for

    Show / Hide Table of Contents

    Class LocaleUtil

    Inheritance
    object
    LocaleUtil
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9
    Assembly: Glitch9.dll
    Syntax
    public static class LocaleUtil

    Methods

    | Edit this page View Source

    Parse(string)

    Declaration
    public static Locale Parse(string smartString)
    Parameters
    Type Name Description
    string smartString
    Returns
    Type Description
    Locale
    | Edit this page View Source

    ToIetfTag(Locale, string)

    Declaration
    public static string ToIetfTag(this Locale locale, string fallback = "auto")
    Parameters
    Type Name Description
    Locale locale
    string fallback
    Returns
    Type Description
    string
    | Edit this page View Source

    ToIso639_1(Locale, string)

    Declaration
    public static string ToIso639_1(this Locale locale, string fallback = "en")
    Parameters
    Type Name Description
    Locale locale
    string fallback
    Returns
    Type Description
    string
    | Edit this page View Source

    TryParse(string, out Locale)

    Declaration
    public static bool TryParse(string smartString, out Locale locale)
    Parameters
    Type Name Description
    string smartString
    Locale locale
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation