java -Duser.language=pt -Duser.region=BR

Which is Portuguese/Brazil

java -Duser.language=br -Duser.region=PT

Which is Breton/Portugal

Quoting Felipe Schnack <[EMAIL PROTECTED]>:

>   So
>   java _Duser.country=pt_BR?
> 
> On Thu, 2003-02-27 at 15:23, Kris Schneider wrote:
> > You can try setting the user.language and user.region system properties
> at
> > startup. Where user.region can be country, country_variant, or _variant.
> > 
> > Quoting Felipe Schnack <[EMAIL PROTECTED]>:
> > 
> > >   Yes, but this is an per-instance  attribute, isn't it? How could I
> > > make it be set in all f Tomcat's VMs?
> > >   Maybe a java "-D" option?
> > > 
> > > On Thu, 2003-02-27 at 14:38, Jon Wingfield wrote:
> > > > via a static method on java.util.Locale. In your case the Locale call
> 
> > > > will be
> > > > Locale.setDefault(new Locale("br", "PT"));
> > > > 
> > > > You may also want to set the TimeZone in a similar manner.
> > > > 
> > > > Felipe Schnack wrote:
> > > > 
> > > > >  How can i set the default locale of my application? There is a
> system
> > > > >property to do that? I can't find it anywhere, and need to set mine
> to
> > > > >pt-BR locale.
> > > > >
> > > > >  
> > > > >
> > > > 
> > > > 
> > > > 
> > > > 
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > 
> > > -- 
> > > 
> > > Felipe Schnack
> > > Analista de Sistemas
> > > [EMAIL PROTECTED]
> > > Cel.: (51)91287530
> > > Linux Counter #281893
> > > 
> > > Centro Universit�rio Ritter dos Reis
> > > http://www.ritterdosreis.br
> > > [EMAIL PROTECTED]
> > > Fone/Fax.: (51)32303341
> > > 
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > 
> > 
> > -- 
> > Kris Schneider <mailto:[EMAIL PROTECTED]>
> > D.O.Tech       <http://www.dotech.com/>
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> -- 
> 
> Felipe Schnack
> Analista de Sistemas
> [EMAIL PROTECTED]
> Cel.: (51)91287530
> Linux Counter #281893
> 
> Centro Universit�rio Ritter dos Reis
> http://www.ritterdosreis.br
> [EMAIL PROTECTED]
> Fone/Fax.: (51)32303341
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to