Experimental
Experimental
Experimental
Load the translation file for the given basename and language.
This is mainly used by the maxGraph built-in provider to bind to Translations.add.
Optional
basename: null | stringThe basename for which the file should be loaded.
Optional
language: null | stringThe language for which the file should be loaded. Default is null
.
Optional
callback: null | FunctionOptional callback for asynchronous loading. Default is null
.
Experimental
Returns the value for the specified resource key.
Optional
key: null | stringString that represents the key of the resource to be returned.
Optional
params: null | any[]Array of the values for the placeholders to be replaced with in the resulting string. The form of the placeholder is specific to each implementation.
Optional
defaultValue: null | stringOptional string that specifies the default return value.
Experimental
Returns whether internationalization is enabled.
A I18nProvider that uses Translations to manage translations.
The configuration is done using TranslationsConfig.
subject to change or removal. The I18n system may be modified in the future without prior notice.
Since
0.17.0