Const
Experimental
Returns whether internationalization is enabled.
Defines the language of the client, e.g. en
for english, de
for german etc.
The special value none
will disable all built-in internationalization and resource loading.
See Translations.getSpecialBundle for handling identifiers with and without a dash.
If internationalization is disabled, then the following variables should be overridden to reflect the current language of the system. These variables are cleared when i18n is disabled:
The language to set. If null
or undefined
, use the preferred language of the navigator or 'en' as default.
Defines the optional array of all supported language extensions. The default language does not have to be part of this list. See Translations.isLanguageSupported.
This is used to avoid unnecessary requests to language files, i.e. if a 404 will be returned.
Global configuration for Translations.
subject to change or removal. maxGraph's global configuration may be modified in the future without prior notice.