Skip to content

Fortified IDDocs

UI customization

How to override UI strings and translations per organization.

Each organization can override UI text and translations by adding files to its override directory on the server.

overrides/<orgKey>/
ui_config_overrides.json
locales/
sv.json
en.json

Set localesMergePath to point at the locale files for this organization:

{
"localesMergePath": "overrides/<orgKey>/locales"
}

Any other top-level ui_config.json property can also be overridden here (logos, titles, supported languages, etc.). The override file is merged on top of the base config — keys present in the override file win.

Each locale file contains a flat map of translation keys to replacement strings:

{
"eid_review.screen3.col_userName": "Användarnamn"
}

Only the keys you want to change need to be present. Base translations are unaffected for all other keys. New keys not present in the base translations are added.

The files are loaded and merged at page load and again on each language switch.