By: Praveen Srinivasan user 12 Mar 2018 at 1:35 a.m. CDT

7 Responses
Praveen Srinivasan gravatar
I am using GLUU. I can see that there is an properties file which helps to implement translation. But I don't see any language button in GLUU login page and forgot password pages. How to implement localization in login and forgot password pages?

By Thomas Gasmyr Mougang staff 12 Mar 2018 at 1:45 a.m. CDT

Thomas Gasmyr Mougang gravatar
Hi **Praveen**, > I can see that there is an properties file which helps to implement translation When the user launch a page, the browser default language is pick and based on that the correct properties files is loaded. You can just visit the login page using a browser that language is set to French for example. If you want to change the default language we can help. Thanks

By Praveen Srinivasan user 12 Mar 2018 at 1:47 a.m. CDT

Praveen Srinivasan gravatar
My need is like, a dropdown button which helps to change the language like we have already in Identity profile pages.

By Praveen Srinivasan user 12 Mar 2018 at 1:54 a.m. CDT

Praveen Srinivasan gravatar
In identity page we are having a html like this ``` <h:form> <span class="language-selection"> <h:selectOneMenu value="#{language.localeCode}" onchange="submit()" valueChangeListener="#{language.countryLocaleCodeChanged}"> </h:selectOneMenu> </h:form> ``` If I try to use this markup in login.xhtml, it redirects to error page.

By Thomas Gasmyr Mougang staff 12 Mar 2018 at 1:56 a.m. CDT

Thomas Gasmyr Mougang gravatar
There is no drop down to select language for oxauth component. The multi-language can be supported by customizing the public facing login pages to meet your requirements. We will definitely consider implementing this feature if we hear more demand from customers. For customization: https://gluu.org/docs/ce/3.1.2/operation/custom-design/ If you want to change the default language this ticket reply can help you. In case you are interested in becoming a supported customer to request this feature, feel free to schedule a call with us. Thanks!

By Praveen Srinivasan user 12 Mar 2018 at 2:01 a.m. CDT

Praveen Srinivasan gravatar
What do you mean by **The multi-language can be supported by customizing the public facing login pages to meet your requirements**?

By Thomas Gasmyr Mougang staff 12 Mar 2018 at 2:14 a.m. CDT

Thomas Gasmyr Mougang gravatar
To have the down drown feature, customization of public facing pages is not enough. Since the project is open source you can clone the project and contribute with this feature. As state earlier, we currently don't have enough demand for that feature.

By Praveen Srinivasan user 12 Mar 2018 at 2:15 a.m. CDT

Praveen Srinivasan gravatar
Thank you so much for your reply.