Class LocaleManager
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Common.dll
The class for managing the app's locale.
public static class LocaleManager
- Inheritance
-
objectLocaleManager
Methods
View SourceGetApplicationLocale()
Get the application's language
Declaration
public static CultureInfo GetApplicationLocale()
Returns
| Type | Description |
|---|---|
| CultureInfo | CultureInfo corresponding to the application language |
GetSystemLocale()
Get the system's language
Declaration
public static CultureInfo GetSystemLocale()
Returns
| Type | Description |
|---|---|
| CultureInfo | CultureInfo corresponding to the system language |
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)