Re: [cas-user] Re: Cas Default language

2019-02-19 Thread Colin Wilkinson
Hi John, firstly there is no such locale in java as UK, the locale for UK is en_GB see Java Locale “English (United Kingdom)” . Secondly its defined in the wrong location, you have it defined application.properties but you need to define it

Re: [cas-user] Re: Cas Default language

2019-02-19 Thread Charafeddine Youssef
Hi john, By default CAS use the keys in message.properties. If you want to use any language in particular, you should write your key message in messages_uk.properties. Charaf Le mar. 19 févr. 2019 à 08:28, john adz a écrit : > Hi, > > I'm trying with Chrome incognito. I write what I wrote in

Re: [cas-user] Re: Cas Default language

2019-02-18 Thread john adz
Hi, I'm trying with Chrome incognito. I write what I wrote in application.properties, but still in English. Do I delete the messages.properties file and see the messages_uk.properties file? Do I have to make a change elsewhere? Thanks, On Monday, February 18, 2019 at 12:44:23 PM UTC+3, Andy

Re: [cas-user] Re: Cas Default language

2019-02-18 Thread Andy Ng
Looking at the source code here: https://github.com/apereo/cas/blob/v5.3.7/webapp/cas-server-webapp-config/src/main/java/org/apereo/cas/config/CasWebAppConfiguration.java#L63 The locale also affected by Cookie, maybe try using an Chrome Incognito or similar browser, so that your previous

Re: [cas-user] Re: Cas Default language

2019-02-17 Thread john adz
Hi, I added the following lines in application.properties. Unfortunately, it did not happen. He doesn't see the change here. It comes in English. cas.locale.paramName=locale cas.locale.defaultValue=uk Thanks, On Mon, Feb 18, 2019 at 4:20 AM Andy Ng wrote: > Hi John, > > Try this: > >

[cas-user] Re: Cas Default language

2019-02-17 Thread Andy Ng
Hi John, Try this: https://apereo.github.io/cas/5.2.x/installation/Configuration-Properties.html#localization # cas.locale.defaultValue=en See if this works. - Andy -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: