PhenixID DocumentationPhenixID Authentication ServicesSolutions GUI CustomizationSet default language on PhenixID Server web pages from backend

Set default language on PhenixID Server web pages from backend

This article describes how to set default language for PhenixID Server web pages from backend.

So if the choice of language has been removed according to this document:

How to customize Self Service

users will now be forced to use the language set on the server.

The reader should have some basic knowledge about PhenixID Server.

Overview

The language for PhenixID Server web pages will be set on backend.

We will make changes to the files:

/bin/start-PhenixID.sh (Linux)

/bin/*.vmoptions (Windows)

So please make sure to have a recent copy of these files before making the changes below.

Instruction

The parameter to set default language is -Dcom.phenixidentity.globals.defaultLanguage=<countrycode>.

On Linux this parameter is set in the file /bin/start-PhenixID.sh, add it like this:

JAVA_OPTS="${JAVA_OPTS} -Dcom.phenixidentity.globals.defaultLanguage=SV"

On Windows this parameter is set in the file/files /bin/*.vmoptions, add it like this:

-Dcom.phenixidentity.globals.defaultLanguage=SV

PhenixID service needs to be restarted for the change to take affect.