메소드 | 설명 | |
---|---|---|
GetBestAvailableLanguageFrom ( string languages ) : string |
Returns the best matching language for this application's resources, based the provided languages
|
|
GetText ( string key, string languages ) : string |
Returns localized text for a given default language key, or the default itself, based on the provided languages and application resources
|
메소드 | 설명 | |
---|---|---|
CleanCommentLine ( string line ) : string | ||
CreateEmptyMessages ( string culture ) : void | ||
GetCultureInfoFromLanguage ( string language ) : |
||
GetDirectoryAndPath ( string culture, string &directory, string &path ) : void | ||
GetLanguageIfAvailable ( string culture ) : string | ||
GetTextOrDefault ( string culture, string key ) : string | ||
LoadFromDiskAndCache ( string culture, string path ) : void | ||
LoadMessages ( string culture ) : bool | ||
ParseBody ( TextReader fs, string line, StringBuilder sb, i18n.I18NMessage message, |
||
TryGetTextFor ( string culture, string key ) : string |
public GetBestAvailableLanguageFrom ( string languages ) : string | ||
languages | string | A sorted list of language preferences |
리턴 | string |
public GetText ( string key, string languages ) : string | ||
key | string | The default language key to search for |
languages | string | A sorted list of language preferences |
리턴 | string |