Description
Central entry point for language metadata and runtime language state in Parley. Use it to resolve aLanguageID from an ISO code, look up a language’s English name and reading direction, or query the active language at runtime. All members are static.
Fields
FallbackLanguage
Default language used whenever a call doesn’t pass one explicitly. DeclarationFallbackTextDirection
Default text direction for the fallback language. DeclarationLanguages
The master registry that maps everyMethods
GetIDFromCode(string)
Finds aLanguageID by its lowercase ISO code (e.g. “en”).
Declaration
LanguageID
The LanguageID registered for the given code.
GetIDFromEnglishName(string)
Finds aLanguageID by its English name (e.g. “English”, “Arabic”). Case-insensitive.
Declaration
LanguageID
The LanguageID registered for the given name.
GetInfoFromID(LanguageID)
Returns the fullLanguageInfo for a given LanguageID.
Declaration
LanguageID
required
LanguageID for the language. Must match an entry in Languages and its correspondant in LanguageID.
LanguageInfo
The LanguageInfo registered for the given LanguageID.
GetInfoFromCode(string)
Returns the fullLanguageInfo
The LanguageInfo registered for the given code.