By: Sakit Atakishiyev user 31 May 2018 at 1:28 a.m. CDT

6 Responses
Sakit Atakishiyev gravatar
Hello. I installed the new gluu version 3.1.3. I want to add new language which is not supported by default. What I tried. 1. I copied the original `oxauth.properties` file and make new `oxauth_az.properties` file under `/opt/gluu/jetty/oxauth/custom/i18n/` - *NOT WORKED* 2. I copied the original `oxauth.properties` file and make new `oxauth_az.properties` file under `/opt/gluu/jetty/oxauth/resources/` - *NOT WORKED* 3. I copied the original `face-config.xml` file to `/opt/gluu/jetty/oxauth/resources/` and added new `az` language to this file and restart `oxauth` service - *NOT WORKED* 4. I added the new language from GUI to `uiLocalesSupported` section - *NOT WORKED* what is the correct way to adding an unsupported language?

By Thomas Gasmyr Mougang staff 01 Jun 2018 at 5:15 a.m. CDT

Thomas Gasmyr Mougang gravatar
Hi Sakit, There are tow components that can internationalized: The identity and oxauth. 1. The identity component ship with an Admin UI containing a toggle button to with language. You can clone the oxtrust project and customized the code to support additional language 1. The oxAuth project don't have a mean to support additional language. If your audience is one language based then you can override the default oxauth.properties file to meet your need. Now that it is clear, what do you want to achieve?

By Sakit Atakishiyev user 01 Jun 2018 at 5:34 a.m. CDT

Sakit Atakishiyev gravatar
Hi Thomas, Thanks for you response. Yes if I override the default oxauth.properties I can achieve what I want.

By Thomas Gasmyr Mougang staff 01 Jun 2018 at 5:41 a.m. CDT

Thomas Gasmyr Mougang gravatar
Note that overriding the default oxauth.properties will only affect oxauth pages like the login page for example. The Admin Ui pages will no be affected.

By Sakit Atakishiyev user 01 Jun 2018 at 6 a.m. CDT

Sakit Atakishiyev gravatar
I know it. Thank you very much

By Sakit Atakishiyev user 04 Jun 2018 at 8:59 a.m. CDT

Sakit Atakishiyev gravatar
I tested today but replaceing the default `oxauth.properties` did not work. `faces-config.xml` shows that default lang is set to `en`. So only if I change the `oxauth_en.properties` it works but in this time I could not use `English` langauges. Is there any alterinative ways?

By Thomas Gasmyr Mougang staff 04 Jun 2018 at 9:31 a.m. CDT

Thomas Gasmyr Mougang gravatar
Hi > I change the oxauth_en.properties it works **Okay** > Is there any alterinative ways? ** As i told you in my previous post, currently there is no way to support multiple language on oxauth pages.** Thanks, Gasmyr.