21.7.1 Override the browser locale setting
You can use the following server.properties file to force a specified locale value for all NNMi clients regardless of their browsers' locale value:
-
Windows: %NnmDataDir%nmsas\NNM\server.properties
-
Linux: $NnmDataDir/nmsas/NNM/server.properties
When this value is set in the server.properties file, a browser's locale value is ignored.
To override browser locale settings:
-
Open the server.properties file.
-
Windows: %NnmDataDir%nmsas\NNM\server.properties
-
Linux: $NnmDataDir/nmsas/NNM/server.properties
-
-
Navigate to nmsas.server.forceClientLocale.
-
Set nmsas.server.forceClientLocale to either of the following:
-
nmsas.server.forceClientLocale = two-letter-ISO-language-code
For example, enter the following to use only the ISO language code to set the locale to English:
- Example:
-
nmsas.server.forceClientLocale = en
-
nmsas.server.forceClientLocale = two-letter-ISO-language-code_two-letter-ISO-country-code
For example, enter the following to use the ISO language and country codes to set the locale to English:
- Example:
-
nmsas.server.forceClientLocale = en_US
-
-
Restart the NNMi ovjboss service by running the following commands on the NNMi management server:
ovstop ovjboss ovstart
Changes to the server.properties file are read only at the time of ovjboss startup.
For details, see the comments in the server.properties file.