Instead of searching through a list of locale keys, you can add the query string parameter ?langdebug=true
to your EmpowerID web application URL, and interactively create or edit keys directly on the text as it appears in the page.
Once enabled, the Locale Key Editor Enabled info box provides you with information on how to use the editor.
There are three things that you can accomplish using this editor.
In this topic, we explore how to add or edit localized text for existing keys and how to add keys for existing localized text. We cover how to create new keys in the developer documentation.
Each person can set their Preferred Language by clicking the globe next to My Cart and selecting from the languages supported in the organization. |
Navigate to the EmpowerID page with text that you want to localize, and insert the query string parameter ?langdebug=true
in the URL between /UI
and #
, in place of the slash. For example:https://sso.empoweriam.com/UI/#Common/Find/Person becomes
https://sso.empoweriam.com/UI?langdebug=true#Common/Find/Person
When you navigate to other EmpowerID pages with the Locale Key Editor enabled, the query string stays in the URL so that you can continue localizing other pages. So you can start off by appending the query string to the main entry point of your EmpowerID site like this: |
The Locale Key Editor Enabled info box appears, and all localized strings are highlighted in yellow, or in orange if a localized value exists in the code, but no key exists in the database.
The default locale is English, so the Localized Value here is "People." You can customize this value. For example, your organization might prefer the term "Associate."
Do not change the Key Name field, as this is what connects the value to the proper place in the UI. |
Once that language has a translation, you can choose another locale to translate. When you are finished, click Close.
To check your work, you can append a language query string parameter to the base URL for any page in the web application to force it to display the page in that language. To display all pages of the Web application in a specific language, append the following to the Home page URL:
For example: EmpowerID then appends that parameter to each page of the Web application until it is removed from the URL or the user session ends so that any pages you navigate to are displayed in the specified language. |
The translated text is highlighted green to show that it was the last edited key.
The default locale is English, so the Localized Value here is "Today." You can customize this value. For example, your organization might prefer the term "Current."
Do not change the Key Name field, as this is what connects the value to the proper place in the UI. |
Once that language has a translation, you can choose another locale to translate. When you are finished, click Close.
To check your work, you can append a language query string parameter to the base URL for any page in the web application to force it to display the page in that language. To display all pages of the Web application in a specific language, append the following to the Home page URL:
For example: EmpowerID then appends that parameter to each page of the Web application until it is removed from the URL or the user session ends so that any pages you navigate to are displayed in the specified language. |
The translated text is highlighted green to show that it was the last edited key.
?langdebug=true
with a slash: /
and press Enter.
|
|