By: Sakit Atakishiyev user 28 Jun 2018 at 6:33 a.m. CDT

21 Responses
Sakit Atakishiyev gravatar
Hi. I want to display different language all public pages(oxauth and oxtrust). When I set `ui_locales` all oxAtuh public pages display correctly. But when I pass oxTrust public pages such as registration page or forgot password, all page display only English. I have all required languages files under `/opt/gluu/jetty/identity/custom/i18n/`.

By Thomas Gasmyr Mougang staff 28 Jun 2018 at 6:40 a.m. CDT

Thomas Gasmyr Mougang gravatar
To be honest, i don't get from the description what you want to achieve. Can you reformulate your request?

By Thomas Gasmyr Mougang staff 28 Jun 2018 at 6:45 a.m. CDT

Thomas Gasmyr Mougang gravatar
> I want to display different language all public pages(oxauth and oxtrust) What do you mean? > When I set ui_locales all oxAtuh public pages display correctly Set ui_locales to which value?

By Sakit Atakishiyev user 28 Jun 2018 at 6:50 a.m. CDT

Sakit Atakishiyev gravatar
OK. Gluu display registration and forgot password pages in English. I want to display for exmaple in Russian. If I set `ui_locales=ru` login page display all words in Russian. If I press `Forgot Password` link on the login page gluu displays `passwordReminder.xhtml` in English. I want to change this page language also. How can I do? This is not only passwordReminder.xhtml this problem has all oxtrust public pages. Such as registration resetPassword and others

By Thomas Gasmyr Mougang staff 28 Jun 2018 at 6:58 a.m. CDT

Thomas Gasmyr Mougang gravatar
Okay, it's clear now. Lemme check.

By Thomas Gasmyr Mougang staff 28 Jun 2018 at 7:50 a.m. CDT

Thomas Gasmyr Mougang gravatar
Hi, I just open an issue [here](https://github.com/GluuFederation/oxTrust/issues/1024) to fix that issue. Will be available in 3.1.4 version. I will also provide you with a patch if i have some time to do it.

By Sakit Atakishiyev user 28 Jun 2018 at 8:07 a.m. CDT

Sakit Atakishiyev gravatar
Thank you very much. I have one question about the content of email when server send to the user to reset password. Is there any other way to change it? Currently I changed the default `oxtrust.properties` content but this is not solution.

By Thomas Gasmyr Mougang staff 28 Jun 2018 at 8:17 a.m. CDT

Thomas Gasmyr Mougang gravatar
Change the one in `oxtrust_en.properties` and give a try.

By Sakit Atakishiyev user 28 Jun 2018 at 8:39 a.m. CDT

Sakit Atakishiyev gravatar
If I change `oxtrust.properties` it works but this time I can not send email in English. So I just add both language to one key. Email now goes in two language to my users

By Thomas Gasmyr Mougang staff 28 Jun 2018 at 8:50 a.m. CDT

Thomas Gasmyr Mougang gravatar
can you share the registration page which you said remains in English. A screenshot.

By Sakit Atakishiyev user 28 Jun 2018 at 8:57 a.m. CDT

Sakit Atakishiyev gravatar
I used the default registration page. I just replace the meaning of words in `oxtrust.properties` and placed it `/opt/gluu/jetty/identity/custom/i18n`

By Thomas Gasmyr Mougang staff 28 Jun 2018 at 8:59 a.m. CDT

Thomas Gasmyr Mougang gravatar
Use `oxtrust_en.properties` instead of `oxtrust.properties`

By Sakit Atakishiyev user 28 Jun 2018 at 9:01 a.m. CDT

Sakit Atakishiyev gravatar
When I used `oxtrust_en.properties` nothing change so I used `oxtrust.propeties`. But I will try again

By Sakit Atakishiyev user 28 Jun 2018 at 9:27 a.m. CDT

Sakit Atakishiyev gravatar
I checked. Yes you are right. Only messages are translated when I change `oxtrust_en.properties`.

By Thomas Gasmyr Mougang staff 28 Jun 2018 at 11 a.m. CDT

Thomas Gasmyr Mougang gravatar
Going to close this ticket as the issue has been fixed.

By Sakit Atakishiyev user 28 Jun 2018 at 1:05 p.m. CDT

Sakit Atakishiyev gravatar
If you want you can close but issue is not fixed. Because I changed `oxtrust_en.properties` and now gluu send message in Russian. So changing the file content does not solve the problem

By Thomas Gasmyr Mougang staff 28 Jun 2018 at 1:23 p.m. CDT

Thomas Gasmyr Mougang gravatar
Hum, we don't have enough time to handle unclear ticket. We just create an issue and fix the problem. What do want next? Open a new ticket if you want something else.

By Sakit Atakishiyev user 28 Jun 2018 at 1:30 p.m. CDT

Sakit Atakishiyev gravatar
Thomas I think I explained what I want to do. The solution you suggested works if my system works with only one language.

By Thomas Gasmyr Mougang staff 29 Jun 2018 at 2:02 a.m. CDT

Thomas Gasmyr Mougang gravatar
Please reformulate your current request. Note that they is not way right now to support multiple language on oxauth components, That feature is available only for identity app(oxtrust)..

By Sakit Atakishiyev user 29 Jun 2018 at 2:04 a.m. CDT

Sakit Atakishiyev gravatar
Registraion and Password reset is not oxtrust app components?

By Thomas Gasmyr Mougang staff 29 Jun 2018 at 2:08 a.m. CDT

Thomas Gasmyr Mougang gravatar
Registraion and Password reset is not oxtrust app components? They are part of oxtrust and this [issue](https://github.com/GluuFederation/oxTrust/issues/1024) cover that problem. You can not have it in 3.1.3 because i don't have time to provide you with a path.

By Sakit Atakishiyev user 29 Jun 2018 at 2:17 a.m. CDT

Sakit Atakishiyev gravatar
Ok I understand. Thank you very much