I'v test default locale in version 3.5.7 but it's not working for me too! 
I'm debugging the code so I see that it's set correctly 
in org.apereo.cas.configuration.model.webapp.LocaleProperties also 
in org.apereo.cas.config.CasWebAppConfiguration but it seems that something 
changed because of some http headers such as Accept-Language and so on. 


On Monday, April 16, 2018 at 4:10:13 AM UTC+4:30, M. Reza Ganji wrote:
>
> Try this:
> https://cas.server.edu/login?locale=it
>
>
>
> https://apereo.github.io/cas/5.1.x/installation/User-Interface-Customization-Localization.html
>
>
> On Sun, Apr 15, 2018, 9:44 PM Mohsen Ebrahimi <[email protected] 
> <javascript:>> wrote:
>
>> I already did. The issue is localization does'nt work properly. My 
>> question is: Why setting cas.locale.defaultValue=fa in configs does not 
>> change the default language to Persian?
>>
>> Thank you
>>
>>
>>
>>  
>>
>> ------------------------------
>> -----Original Message-----
>> From: "M. Reza Ganji" <[email protected] <javascript:>>
>> To: [email protected] <javascript:>
>> Date: 26 Far 1397 14:35
>> Subject: Re: [cas-user] default locale setting
>>
>> Hi
>>
>> You can create a custom theme and interface and leave it in the CAS 
>> directory before compile. I have done it with Maven and it works fine for 
>> me.
>>
>>
>>
>> On Sun, Apr 15, 2018, 4:39 PM Mohsen Ebrahimi <[email protected] 
>> <javascript:>> wrote:
>>
>>> Hi
>>> I have an issue with setting default locale. I set default locale to fa 
>>> in cas.properties but still pages' language is in english. Is there any 
>>> extra config for that?
>>> Currently I replaced messages.properties with _fa version to change 
>>> default language! :)
>>> Another question: can I set custom css per locale. In Persian page 
>>> direction should be RTL though one css for all language will not work.
>>> Thanks
>>>
>>>
>>>
>>>
>>> --
>>> - Website: https://apereo.github.io/cas
>>> - Gitter Chatroom: https://gitter.im/apereo/cas
>>> - List Guidelines: https://goo.gl/1VRrw7
>>> - Contributions: https://goo.gl/mh7qDG
>>> ---
>>> You received this message because you are subscribed to the Google 
>>> Groups "CAS Community" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] <javascript:>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/cb5d39bfe836576647aa1cca94ae9553%40of.iut.ac.ir
>>>  
>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/cb5d39bfe836576647aa1cca94ae9553%40of.iut.ac.ir?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> - Website: https://apereo.github.io/cas
>> - Gitter Chatroom: https://gitter.im/apereo/cas
>> - List Guidelines: https://goo.gl/1VRrw7
>> - Contributions: https://goo.gl/mh7qDG
>> ---
>> You received this message because you are subscribed to the Google Groups 
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAGXWBpMeYSvVhwZzYtKMRLirUNwo_D4p5nsM2-MC0yLwMOp5bg%40mail.gmail.com
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAGXWBpMeYSvVhwZzYtKMRLirUNwo_D4p5nsM2-MC0yLwMOp5bg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> -- 
>> - Website: https://apereo.github.io/cas
>> - Gitter Chatroom: https://gitter.im/apereo/cas
>> - List Guidelines: https://goo.gl/1VRrw7
>> - Contributions: https://goo.gl/mh7qDG
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/e7632b8874b35dd7d066e61b2453b350%40of.iut.ac.ir
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/e7632b8874b35dd7d066e61b2453b350%40of.iut.ac.ir?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/444ec3c4-3dc2-4c09-9108-292e03291e43%40apereo.org.

Reply via email to