New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review the ui_locales param (Authentication Request) #867

Closed
qbert2k opened this Issue Aug 7, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@qbert2k
Contributor

qbert2k commented Aug 7, 2018

http://openid.net/specs/openid-connect-core-1_0.html#AuthRequest

pfeliprada wote:

Hi I would also like to ask is the "Persist Client Authorizations" page can be localized based on our language? lets say French,Japanese or Russian language. I tried to change my language to Russian but the "Persist Client Authorizations" page is still english.

@qbert2k qbert2k self-assigned this Aug 7, 2018

@qbert2k qbert2k added the in progress label Aug 7, 2018

@qbert2k qbert2k added this to the 3.1.4 milestone Aug 7, 2018

qbert2k added a commit that referenced this issue Aug 9, 2018

oxAuth #867
Review the ui_locales param (Authentication Request)

qbert2k added a commit that referenced this issue Aug 10, 2018

oxAuth #867
Review the ui_locales param (Authentication Request)
@qbert2k

This comment has been minimized.

Contributor

qbert2k commented Aug 10, 2018

You can use the ui_locales param, authorizationRequest.setUiLocales(Arrays.asList("es"));

https://github.com/GluuFederation/oxAuth/blob/master/Client/src/test/java/org/xdi/oxauth/ws/rs/AuthorizeRestWebServiceHttpTest.java#L2799

Also you can add more languages at:
/Users/JAVIER/IdeaProjects/oxAuth/Server/src/main/resources/oxauth.properties
/Users/JAVIER/IdeaProjects/oxAuth/Server/src/main/resources/oxauth_bg.properties
/Users/JAVIER/IdeaProjects/oxAuth/Server/src/main/resources/oxauth_de.properties
/Users/JAVIER/IdeaProjects/oxAuth/Server/src/main/resources/oxauth_en.properties
/Users/JAVIER/IdeaProjects/oxAuth/Server/src/main/resources/oxauth_es.properties
/Users/JAVIER/IdeaProjects/oxAuth/Server/src/main/resources/oxauth_fr.properties
/Users/JAVIER/IdeaProjects/oxAuth/Server/src/main/resources/oxauth_it.properties
/Users/JAVIER/IdeaProjects/oxAuth/Server/src/main/resources/oxauth_ru.properties
/Users/JAVIER/IdeaProjects/oxAuth/Server/src/main/resources/oxauth_tr.properties

@qbert2k qbert2k closed this Aug 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment