You can override the default configuration of the Welcome application by using a central configuration file,located in app/welcome/scripts/config.js. Currently, the following configuration options areavailable:

Custom links

Can be used to add some useful links for the user, such as other applications or intranet sites.

Example

  1. window.camWelcomeConf = {
  2. links: [
  3. {
  4. label: 'Camunda Forum',
  5. href: 'https://forum.camunda.org',
  6. description: 'Forum for Camnuda BPM users and developers'
  7. },
  8. // ...
  9. ]
  10. };

Localization

The localization of the Welcome application is contained in the app/welcome/locales/ directory. Thisdirectory contains a separate localization file for every available language. The file nameconsists of the language code and the suffix .json (e.g., en.json).

The Welcome application uses a locale file corresponding to the language settings of the browser. You canset the availableLocales property in the configuration file to provide a list of availablelocales. Every locale which is contained in this list must have a locale file in the localesdirectory with the corresponding language code.

If the browser uses a language which is not available, the Welcome application uses the locale which isdefined via the fallbackLocale property in the configuration file:

  1. "locales": {
  2. "availableLocales": ["en", "de"],
  3. "fallbackLocale": "en"
  4. }

To create a new localization for the Welcome application, copy the provided language file, translate it andsave it as a new localization file with the corresponding language code. To make the new translationavailable, add it to the list of available locales in the configuration file.

原文: https://docs.camunda.org/manual/7.9/webapps/welcome/configuration/