Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Navigate to <IS_HOME>/repository/deployment/server/webapps/authenticationendpoint/WEB-INF/classes/org/wso2/carbon/identity/application/authentication/endpoint/i18n/
  2. Take a copy of the Resources.properties file, rename it with the required locale suffix as follows: 
    Ex: For British English: Resources_en_GB.properties
          For French (Standard): Resources_fr.properties

    Info

    Refer Web browser language identification codes for more information on required locale suffixes.

  3. Update values while keeping the keys as follows,
    Ex: login=<Value in the required locale>
  4. Save the file.
  5. Go to the browser setting and add the language you configured above.
  6. Restart the server.

To try out, do the following: 

  1. Open up a browser.
  2. Type the dashboard URL. (If you are running the server in your localhost, the URL is: https://localhost:9443/dashboard/). You will see the login screen having the contents in the configured language.

...

Now look for a value in Resource.properties file with the relevant locale. If a match is found, define a value for the property. Otherwise use add new property entry to the relevant locale based on the Resource file, as explained above. If you don't specify a value for the key obtained after #03, the error message itself will be displayed in the UI, as default.

Info
titleLocalization for acountrecoveryendpoint

Similarly, you can enable localization for accountrecoveryendpoint by applying the same above steps 1 through 7 above starting with

<IS_HOME>/repository/deployment/server/webapps/accountrecoveryendpoint/WEB-INF/classes/org/wso2/carbon/identity/mgt/recovery/endpoint/i18n/

location.