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):
<cfset soLanguage = createObject( 'java', 'java.lang.System' ).getProperty( 'user.language' )> <cfif LCase( soLanguage) EQ 'pt'><!--- PORTUGUESE ---> <cfset compl = ' /G Todos:F /Y'> <cfelseif LCase( soLanguage) EQ 'en'><!--- ENGLISH ---> <cfset compl = ' /G Everyone:F /Y'> <cfelseif ..... <!--- spanish ---> But, with that JVM parameters, always returns 'pt'. Do you know how to obtain the "real" language for this server? Cheers Marco Antonio ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:314562 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

