AngeliA
Search Results for

    Show / Hide Table of Contents

    Class Language

    Core system to handle localization logic

    Properties

    CurrentLanguage

    Current selecting language ISO

    Declaration
    public static string CurrentLanguage { get; }

    LanguageCount

    Total count of languages loaded inside the system

    Declaration
    public static int LanguageCount { get; }

    PoolReady

    True if the system is ready to use

    Declaration
    public static bool PoolReady { get; }

    Methods

    Get(int, string)

    Get display content from given ID

    Declaration
    public static string Get(int id, string failback = "")
    string failback

    Default value if content not found in system pool

    GetLanguageAt(int)

    Get ISO of the language from system list at given index

    Declaration
    public static string GetLanguageAt(int index)

    SetLanguage(string)

    Set current selecting language

    Declaration
    public static bool SetLanguage(string language)
    Parameters
    Type Name Description
    string language

    ISO of target language

    Returns
    Type Description
    bool

    True if successfuly setted

    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค