Skip to main content

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
TypeName
System.StringlanguageCode
System.Stringmd5Hash

SetHash(string, string)

Declaration
public static void SetHash(string languageCode, string mdHash)
Parameters
TypeName
System.StringlanguageCode
System.StringmdHash

LocalLanguageFilePath(string)

Declaration
public static string LocalLanguageFilePath(string languageCode)
Returns

System.String

Parameters
TypeName
System.StringlanguageCode

PersistentLanguageFilePath(string)

Declaration
public static string PersistentLanguageFilePath(string languageCode)
Returns

System.String

Parameters
TypeName
System.StringlanguageCode

CheckRootDirectory()

Declaration
public static void CheckRootDirectory()

FixFormattedNumeralsInRtl(ref string, int)

Declaration
public static void FixFormattedNumeralsInRtl(ref string formattedText, int degree)
Parameters
TypeName
System.StringformattedText
System.Int32degree