Method | Description | |
---|---|---|
GetLocaleVersion ( string localeKey, string collectionKey, string key ) : uint | ||
GetString ( string key, bool useFallback = false, string fallback = null ) : |
||
GetString ( string collectionKey, string key, bool useFallback = false, string fallback = null ) : |
||
GetString ( string localeKey, string collectionKey, string key, string fallback = null ) : |
||
GetStringStatus ( System.Locale locale, string collectionKey, string key ) : StringStatus | ||
GetStrings ( string keys ) : Yea.Localization.StringTranslation[] | ||
GetStrings ( string collectionKey, string keys ) : Yea.Localization.StringTranslation[] | ||
LoadLocales ( ) : void | ||
LocaleManager ( string defaultCollectionKey = null, string defaultLocale = @"en-US", string localizationFolder = @"lang", string propertiesXml = @"properties.xml" ) : System | ||
SetLocale ( string localeKey ) : bool |
Method | Description | |
---|---|---|
CheckDefaultCollectionKey ( ) : void | ||
LoadLocale ( string localeKey ) : bool |
public GetLocaleVersion ( string localeKey, string collectionKey, string key ) : uint | ||
localeKey | string | |
collectionKey | string | |
key | string | |
return | uint |
public GetString ( string key, bool useFallback = false, string fallback = null ) : |
||
key | string | |
useFallback | bool | |
fallback | string | |
return |
public GetString ( string collectionKey, string key, bool useFallback = false, string fallback = null ) : |
||
collectionKey | string | |
key | string | |
useFallback | bool | |
fallback | string | |
return |
public GetString ( string localeKey, string collectionKey, string key, string fallback = null ) : |
||
localeKey | string | |
collectionKey | string | |
key | string | |
fallback | string | |
return |
public GetStringStatus ( System.Locale locale, string collectionKey, string key ) : StringStatus | ||
locale | System.Locale | |
collectionKey | string | |
key | string | |
return | StringStatus |
public GetStrings ( string keys ) : Yea.Localization.StringTranslation[] | ||
keys | string | |
return | Yea.Localization.StringTranslation[] |
public GetStrings ( string collectionKey, string keys ) : Yea.Localization.StringTranslation[] | ||
collectionKey | string | |
keys | string | |
return | Yea.Localization.StringTranslation[] |
public LocaleManager ( string defaultCollectionKey = null, string defaultLocale = @"en-US", string localizationFolder = @"lang", string propertiesXml = @"properties.xml" ) : System | ||
defaultCollectionKey | string | |
defaultLocale | string | |
localizationFolder | string | |
propertiesXml | string | |
return | System |