Set the ambient language - which is used to create a context which can't match the desired
language. The ambience is used to add lang
attributes to elements that aren't in the
expected language.
The default language for the context. Untranslated text will be assumed to be in this
language. Setting defaultLang
also places the default in the language stack before
any languages in lang
A dictionary to resolve translations. Dictionaries are consulted in order walking up the context parent chain.
Use a tagged section of a current dictionary as the new dictionary.
A language or list of languages that are preferred for this context. Any languages provided here are prepended to the parent's language stack.
Whether to pass ambient language down the context stack.
Generated using TypeDoc
Properties that can be passed to
LangContext.constructor
andLangContext.derive