Hi,

I'm experimenting with OpenBD which seems very nice itself to replace a 
java BlueDragon JX 7 setup.

One of my tests trigger a failure, the variable 
Server.Coldfusion.SupportedLocales is supposed being a
"comma-delimited list of the locale names that you can specify".

So basically i'm doing a loop over the locales and set-ing them:

<cfloop LIST = "#Server.Coldfusion.SupportedLocales#"
        index = "locale" delimiters = ",">
        <cftry>
           <cfset oldlocale = SetLocale(locale)>
           <cfoutput><p>Setting Locale to 
<b><I>#locale#</I>(#GetLocaleDisplayName(locale)#)</b>: OK</cfoutput>
        <cfcatch>
        Error setting locale <cfoutput>#locale#</cfoutput>: 
<cfoutput>#cfcatch.message#</cfoutput><br>
        </cfcatch>
        </cftry>
      <hr noshade>
</cfloop>

While this work on BlueDragon 7, OpenBD 3 and 3.1 nightly fail on almost 
all values provided by supported locales (only 24 of 282 values works)

I'm not able to see a pattern right now, a few examples :

Error setting locale French (France): French (France) must be a valid 
locale name
Error setting locale fr_FR: fr_FR must be a valid locale name
Setting Locale to French (Standard)(français (France)): OK
Setting Locale to French (Canadian)(français (Canada)): OK
Error setting locale French (Canada): French (Canada) must be a valid 
locale name

I've tested with Sun-Java version "1.6.0_26" and OpenJDK version "1.6.0_27" 
for now.

Any ideas ?

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to