Set a default language for a deployment

One of the available languages can be set as the default language for an Insight Browser Client deployment. The default language is used until a user logs in to the application. If no default language is specified, the preferred language as configured in the browser is used. 

To configure a default language, edit the i18n.json file in the nls subfolder of the deployment folder as follows:

After the opening brace at the beginning of the file, add 

"defaultLangTag":"<language tag>",

where <language tag> is the BCP47 tag name of one of the supported languages. For example, setting the default language to German (de-DE) results in the following file contents.

"defaultLangTag": "de-DE",
 "languages": [
       {
           "name": "Base",
           "alias": "Base",
           "bcp47Tag": "en-US-x-base"
       },
       {
           "name": "Deutsch",
           "alias": "German",
           "bcp47Tag": "de-DE"
       },
       {
           "name": "us_english",
           "alias": "English",
           "bcp47Tag": "en-US"
       }
   ]
}

NEXT TOPIC: Insight Browser Client URL parameters that support managing translations

Was this article helpful?
0 out of 0 found this helpful