Language and Translations
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" }
Removed variables
- sidemenu.action
- sidemenu.admin_accepted
- sidemenu.admin_pending
- sidemenu.canceled
- sidemenu.completed
- sidemenu.create
- sidemenu.dashboard
- sidemenu.expired
- sidemenu.menu
- sidemenu.pending
- sidemenu.rejected