Class CultureUtil
Utility class for managing culture and localization settings.
public static class CultureUtil
- Inheritance
-
CultureUtil
- Inherited Members
Properties
SupportedCultureNames
Gets the array of supported culture names.
public static string[] SupportedCultureNames { get; }
Property Value
- string[]
Methods
SetCurrentCulture(string)
Sets the current thread culture to the specified culture code.
public static void SetCurrentCulture(string cultureCode)
Parameters
cultureCode
stringThe culture code to set (e.g., “en”, “zh-Hant”)
SetCurrentCultureEn()
Sets the current culture to English.
public static void SetCurrentCultureEn()