Language and Translations
ADDING LANGUAGES
OVERLAY DIRECTORIES:
overlay/lang
overlay/lang/sv/strings.json
overlay/settings/theme.json
DESCRIPTION
The resources/lang
directory holds the available languages that SWF(Signing workflow) will make use of.
Example of how to make changes to the Swedish (sv) strings
Create the following file: overlay/lang/sv/strings.json
Copy any keys from resouces/lang/sv/strings.json
into overlay/lang/sv/strings.json
and override their values.
IMPORTANT
- Upgrading Signing Workflow will overwrite language files in resources/lang/. Use overlays/lang for modifications.
- By default, the application uses Swedish translations.
- Language dropdown is disabled by default. You need to modify the theme.json file to enable this feature.
- You must add translations for newly added language options.
ENABLE THE CHANGE LANGUAGE MENU AND SET DEFAULT LANGUAGE
This feature is available by modifying the overlay/settings/theme.json
file.
See the example below:
{ "enableLanguage": true,
"defaultLanguage": "sv" }