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:

<cfset getLanguageSO = syscmd.execute( 'cmd /c dir *.ppppp' )><!--- runs a
DOS command and capture the output --->
<cfif ListContainsNoCase( getLanguageSO.StandardOutput, 'O volume na
unidade')><!--- Brazilian Portuguese --->
<cfset compl = ' /G Todos:F /Y'><!--- look the TODOS string -portugueses
specific --->
<cfelseif ListContainsNoCase( getLanguageSO.StandardOutput, 'Volume in
drive')><!--- English --->
<cfset compl = ' /G Everyone:F /Y'><!--- lok the Everyone string - english
specific --->
<cfelseif <!--- spanish --->

Cheers
Marco Antonio

On Wed, Oct 29, 2008 at 5:00 PM, Paul Hastings <[EMAIL PROTECTED]>wrote:

> 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 this server?
>
> what do *you* mean by "real language"?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314565
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to