Protected
Readonly
_Protected
Readonly
envProtected
Readonly
languageProtected
localizationProtected
Readonly
localizationThis promise resolves when the cache has been cleaned up after starting the backend server. Once resolved, the service allows to cache localization files for plugins.
Protected
translationProtected
getCalled during the initialization of the backend application. Use this for functionality which has to run as early as possible.
The implementation may be async, however it will still block the initialization step until it's resolved.
either undefined
or a Promise resolving to undefined
.
Performs localization of the plugin model. Translates entries such as command names, view names and other items.
Translatable items are indicated with a %id%
value.
The id
is the translation key that gets replaced with the localized value for the currently selected language.
Returns a copy of the plugin argument and does not modify the argument.
This is done to preserve the original %id%
values for subsequent invocations of this method.
Protected
update
Contribution for hooking into the backend lifecycle:
initialize()
configure(expressApp)
onStart(httpServer)
onStop()