cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: Howto: set server locale?
Date Thu, 17 Nov 2005 20:08:05 GMT
Le 17 nov. 05, à 20:24, Mark Lundquist a écrit :

>
> ...Hi, I need to be able to override the default locale for a Cocoon 
> application (note, I'm not referring to client localization).  How do 
> I do this?  Is it a server thing, or a servlet container thing?  (I'm 
> using Jetty...)

Depending on your VM, you can do this using the user.language and 
related system properties, from the JVM command line, for example:

   java -Duser.language=fr -Duser.country=CA ...

see http://java.sun.com/developer/technicalArticles/J2SE/locale/

-Bertrand

Mime
View raw message