The default bundle is the "messages.properties" file, which focuses on English 
locale. 


...and I am not so sure about having different css files per language, at least 
not OOTB. That would require some additional JSP tweaks perhaps to detect the 
locale and pull in the right css file. 


-Misagh 
----- Original Message -----

From: "Kapetanakis Giannis" <[email protected]> 
To: [email protected] 
Sent: Tuesday, October 15, 2013 5:33:01 PM 
Subject: Re: [cas-user] different css/logo per language 


Thanks for the reply. 

About the default language: 
messageSource contains the default basename for the messages files. 
How can I choose default language from there? 

I've tried setting <mainMessagesFile> in pom.xml but it didn't work. 

About the different css per language. The example is not that helpful since it 
is related to different 
theme per service. 

G 

On 14/10/13 16:41, Jérôme LELEU wrote: 



Hi, 


This documentation will help : 
https://wiki.jasig.org/display/CASUM/Theme+Control . 
You can certainly change the messageSource bean to use other default language : 
https://github.com/Jasig/cas/blob/3.5.x/cas-server-webapp/src/main/webapp/WEB-INF/spring-configuration/applicationContext.xml#L48
 . 
Best regards, 
Jérôme 





2013/10/14 Kapetanakis Giannis < [email protected] > 

<blockquote>
Hi, 

Can someone point how to use different css file per language? 
I'd like to have different company logo per language choosen. 

Also how can I change the default language to something else except English? 

Thanks 

Giannis 

-- 
You are currently subscribed to [email protected] as: [email protected] 
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user 



-- 
You are currently subscribed to [email protected] as: 
[email protected] To unsubscribe, change settings or access archives, 
see http://www.ja-sig.org/wiki/display/JSG/cas-user 
</blockquote>

-- 
You are currently subscribed to [email protected] as: 
[email protected] 
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user 

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to