To select the language, the following properties are taken into account (in the given order):
- Value of HTML lang attribute
uiCulture
value in localStorage- Browser language
- German (fallback)
ngx-translate is used to translate text in the user interface. You can use the pipe, the directive or the service to get translations, see: https://github.com/ngx-translate/core#4-use-the-service-the-pipe-or-the-directive
The translations are stored in JSON format and can be found in src/assets/locales/*.json
.