Class LocaleManager

    Definition

    Namespace:
    Tizen.Applications
    Assembly:
    Tizen.Applications.Common.dll

    The class for managing the app's locale.

    public static class LocaleManager
    Inheritance
    object
    LocaleManager

    Methods

    View Source

    GetApplicationLocale()

    Get the application's language

    Declaration
    public static CultureInfo GetApplicationLocale()
    Returns
    Type Description
    CultureInfo

    CultureInfo corresponding to the application language

    View Source

    GetSystemLocale()

    Get the system's language

    Declaration
    public static CultureInfo GetSystemLocale()
    Returns
    Type Description
    CultureInfo

    CultureInfo corresponding to the system language

    View Source

    SetApplicationLocale(CultureInfo)

    Set the application's language independently of the system language.

    Declaration
    public static void SetApplicationLocale(CultureInfo info)
    Parameters
    Type Name Description
    CultureInfo info

    The locale to set language

    Remarks

    If a device does not support the language , It will be set to the default language(en_US.UTF-8)

    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX