Internationalization (i18n)
map.apps supports internationalization (i18n). By default English and German language is supported. map.apps detects the browser’s locale on startup and initializes the app with the given language. When switching the language during runtime the app is restarted, but keeps the current extent and active layers. Internationalization in map.apps can be used in two ways:
-
Within custom bundle implementations,
-
Within the app configuration.
Custom bundle implementations
Custom bundle implementations can provide their own resource files for each language that is supported. Within the code only placeholders are used that are replaced when the bundle is downloaded to the client machine.
Further Information
For further information about how to use i18n in bundle implementations, see OSGi - Module Layer.
|
App configuration
The app configuration can use i18n resources as well. It also can be used to overwrite predefined bundle i18n values.
Further Information
For further information about how to use i18n in apps, see OSGi - Configuration.
|