Maybe I didn't explain well enough. In casLoginView.jsp, I use:
... http://server/${pageContext.request.locale}/password/recover , which will always return the installation locale of the browser (in my cas fr_FR), even if I call the cas login page with the variable &locale=en . Is there a way to retrieve the "spring" locale ? which is apparently also stored in "....i18n.CookieLocaleResolver.LOCALE" ? Thanks -----Message d'origine----- De : Marvin Addison [mailto:marvin.addi...@gmail.com] Envoyé : mercredi 5 septembre 2012 16:52 À : cas-dev@lists.jasig.org Objet : Re: [cas-dev] Dynamic links on login page > I tried using the locale returned by spring, but it matches the > browser locale "fr_FR" , not the one used by CAS when passing > "locale=fr" . I believe most locale-aware frameworks will gracefully degrade from a more specific locale to a less specific one if the former is not found. Thus since only messages_fr.properties ships with CAS, I would expect the fr_FR locale to resolve to the generic French resource bundle. I realize there may be other issues to consider in your case, but proper message bundle resolution in Spring should just work. M -- You are currently subscribed to cas-dev@lists.jasig.org as: g...@centrics.ch To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev -- You are currently subscribed to cas-dev@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev