Method | Description | |
---|---|---|
GetAppLanguages ( ) : LanguageTag>.ConcurrentDictionary |
||
GetText ( string msgid, string msgcomment, LanguageItem languages, LanguageTag &o_langtag, int maxPasses = -1 ) : string | ||
TextLocalizer ( |
Method | Description | |
---|---|---|
GetCacheKey ( string langtag ) : string | ||
GetCultureInfoFromLanguage ( string language ) : |
||
IsLanguageValid ( string langtag ) : bool |
Assesses whether a language is PO-valid, that is whether or not one or more localized messages exists for the language.
|
|
LoadMessagesIntoCache ( string langtag ) : bool | ||
LookupText ( string langtag, string msgkey ) : string | ||
TryGetTextFor ( string langtag, string msgkey ) : string |
Lookup whether any messages exist for the passed langtag, and if so attempts to lookup the message for the passed msgid, or if the msgid is null returns indication of whether any messages exist for the langtag.
|
public GetAppLanguages ( ) : LanguageTag>.ConcurrentDictionary |
||
return | LanguageTag>.ConcurrentDictionary |
public GetText ( string msgid, string msgcomment, LanguageItem languages, LanguageTag &o_langtag, int maxPasses = -1 ) : string | ||
msgid | string | |
msgcomment | string | |
languages | LanguageItem | |
o_langtag | LanguageTag | |
maxPasses | int | |
return | string |
public TextLocalizer ( |
||
settings | ||
translationRepository | ITranslationRepository | |
return | System |