Older versionVersion 2.0SolutionsAdd multilingual display value for Authenticator

Add multilingual display value for Authenticator

This article will describe how to make the display value for an authenticator show up in the same language as the rest of the webpage.

The reader of this document should have some basic knowledge about PhenixID Server.

Overview

Each authenticator could be configured with the "displayName" parameter.

In order to achieve the multilingual support the parameter has to be translated as described below.

1. Note the value to be translated

Locate the authenticator to modify in the "Advanced" tab.

Note the value of the "displayName" parameter.

The value of displayName is "Username, password and OTP by Pocket Pass" in this example

2. Add translation for the displayName parameter

The translations has to be added to the translation file for each available language.

Locate the translation file Server\mods\com.phenixidentity~auth-http~<VERSION>\web\res\lang\<LANGUAGE>\strings.xml.

Append the file with a translation mapping to the displayName parameter noted in the previous step.

Example:

<string name="Username, password and OTP by Pocket Pass">This is my new displayName for this language!</string>

3. Restart service and test

The service has to be restarted in order to display the new translations.