<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi all,</div><div class=""><br class=""></div><div class="">I started to work on the internationalization support (<a href="https://issues.jboss.org/browse/KEYCLOAK-301" class="">https://issues.jboss.org/browse/KEYCLOAK-301</a>).</div><div class=""><br class=""></div><div class="">I’ve already implemented the realm config in the admin console. I’ve put it into the „Theme Setting“ (see screenshot)</div><div class="">I added the possibility to enable internationalization, add supported locales and a select a default locale. </div><div class=""><br class=""></div><div class="">Now I’d like to implement the logic which choose the correct locale. Therefore I need the http header, cookie, query parameter, realm and user.</div><div class="">The LoginFormsProvider and AccountProvider have all this information apart from the http header and the cookie. </div><div class="">So I thought I could replace the UriInfo with the HttpRequest, but that doesn’t work, because I can not access the UriInfo through the HttpRequest (java.lang.NoSuchMethodError: org.jboss.resteasy.spi.HttpRequest.getUri()Ljavax/ws/rs/core/UriInfo;). So, I will add the HttpHeader to the LoginFormsProvider and AccountProvider, or does anyone have a better idea?</div><div class=""><br class=""></div><div class="">@Bill</div><div class="">How do you plan to store the claim „locale“ on a user? Will it be accessible through the UserModel interface?</div><div class=""><br class=""></div><div class="">Best</div><div class="">Michael</div><br class=""><div class=""><img apple-inline="yes" id="1DDAF4C3-3D0D-43D2-8361-FD8AF035B35B" height="457" width="1043" apple-width="yes" apple-height="yes" src="cid:E852BD16-7729-4B3D-9775-B19B400AD4A9@fritz.box" class=""></div></body></html>