Customising Text
Network Explorer supports customisation of the text displayed in the user interface through two sets of language files:
- the standard language files supplied with the application; and
- a client-specific override file that allows your organisation to replace selected text without requiring a new application build.
Standard language files
The standard English language file is translation.json, located under the Network Explorer web root at:
/locales/en/translation.json
This file defines the default English text displayed throughout the Network Explorer user interface.
For example:
{
"common": {
"yes": "Yes",
"no": "No",
"cancel": "Cancel",
"close": "Close",
"default": "Default",
"delete": "Delete",
"edit": "Edit",
"editing": "Editing",
"save": "Save",
"download": "Download",
"missingItems": "No items available",
"selectDeselectAll": "Select / Deselect All",
"create": "Create",
"reset": "Reset",
"confirm": "Confirm"
}
}
The JSON file is organised into groups corresponding to different functional areas of Network Explorer. In the example above, the common object contains text used by UI elements that may appear throughout the application.
Additional standard language files are stored in language-specific directories, such as:
/locales/es/
for Spanish, and:
/locales/fr/
for French.
Language directory names use the ISO 639-1 two-letter language codes.
Client-specific text overrides
Network Explorer also provides a client-specific override file:
/locales/clientOverrides.json
This file allows your organisation to replace selected UI text with terminology that better reflects your local conventions, without modifying the standard language files or rebuilding the application.
For example, an organisation might prefer the term Dismiss instead of Close, or use organisation-specific terminology for network assets, functions, or workflows.
Overriding a value
The clientOverrides.json file is initially empty:
{}
To override a value, add the relevant key using the same nested structure as the standard language file. You only need to include the values you want to change.
For example, to replace the standard Close label with Dismiss, add the following:
{
"common": {
"close": "Dismiss"
}
}
Network Explorer will then display Dismiss wherever the common.close text value is used.
Any keys that are not included in clientOverrides.json continue to use their standard values.
Overrides are applied when Network Explorer loads and take precedence over the corresponding values in the selected language file. This means that an override will be used regardless of the language selected.
The override file can be updated without rebuilding the Network Explorer application.