Class LocalizationUtility
Declaration
public static class LocalizationUtility
Properties
IsChinese
Declaration
public static bool IsChinese { get; }
IsRtlLanguage
Declaration
public static bool IsRtlLanguage { get; }
IsFirstLangInitialization
Declaration
public static bool IsFirstLangInitialization { get; set; }
Fields
PrefActiveLanguage
Declaration
public const string PrefActiveLanguage = "PrefActiveLanguage"
PrefSystemLanguage
Declaration
public const string PrefSystemLanguage = "PrefSystemLanguage"
LocalLanguagesFolder
Declaration
public static readonly string LocalLanguagesFolder
PersistentLanguagesFolder
Declaration
public static readonly string PersistentLanguagesFolder
Methods
TryGetHash(string, out string)
Declaration
public static bool TryGetHash(string languageCode, out string md5Hash)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | languageCode |
System.String | md5Hash |
SetHash(string, string)
Declaration
public static void SetHash(string languageCode, string mdHash)
Parameters
Type | Name |
---|---|
System.String | languageCode |
System.String | mdHash |
LocalLanguageFilePath(string)
Declaration
public static string LocalLanguageFilePath(string languageCode)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | languageCode |
PersistentLanguageFilePath(string)
Declaration
public static string PersistentLanguageFilePath(string languageCode)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | languageCode |
CheckRootDirectory()
Declaration
public static void CheckRootDirectory()
FixFormattedNumeralsInRtl(ref string, int)
Declaration
public static void FixFormattedNumeralsInRtl(ref string formattedText, int degree)
Parameters
Type | Name |
---|---|
System.String | formattedText |
System.Int32 | degree |