Localize AM
ForgeRock provides the user-facing and administration UI pages in English only; however, you can customize and localize the user-facing text as required.
The .json
files in the openam-ui-user/src/resources/locales/en
directory provide the English text.
To localize the user-facing text to a new locale:
-
Copy the English locale directory (
locales/en
) to a new directory, for example,locales/fr
.The name of the directory should follow RFC 5646 - Tags for Identifying Languages. For example,
en-GB
. -
Edit the files and change the values of the elements for the required locale. Take care not to change the JSON structure or to render it invalid.
-
Rebuild the UI. For more information, see Test and deploy the UI.
You can now redeploy the UI or pack it in your custom AM
.war
file.