Re: How to know the "real" SO language

2008-10-29 Thread Web Specialist
Thanks Paul. "Real" language is the OS language. For me, "english", because our server runs in Windows 2003 English language. I need to know the "real" language because our application runs language-specific command in DOS mode. I found a "trick" to resolve this: Cheers Marco Antonio On We

Re: How to know the "real" SO language

2008-10-29 Thread Paul Hastings
Web Specialist wrote: > Administrator(under Java & JVM) we set the parameters -Duser.language=pt > But, with that JVM parameters, always returns 'pt'. what else should it return? it's portuguese & you set the JVM. what does getLocale() return? > Do you know how to obtain the "real" language for

How to know the "real" SO language

2008-10-29 Thread Web Specialist
Hi all. Our server is a Windows 2003 with English installation. In CF Administrator(under Java & JVM) we set the parameters -Duser.language=pt -Duser.country=BR (Brazilian Portuguese). I'm using this code to know the language in that server(in future the server language could be changed):