Hey all,

I'm currently working with resource bundles, and I've run into a problem
with the implementation and am hoping that someone here can give me some
insight.  I've got a resourceBundle CFC set up that uses the Java ICU4J
library to manage my RBs.  My problem comes up when I'm using
getLocale() to return the current locale.  The CF docs state "The
current locale value, as an English string. If a locale has a Java name
and a name that ColdFusion MX used prior to the ColdFusion MX 7 release
(for example, en_US and English (US)), ColdFusion MX returns the
ColdFusion name (for example, English (US))."  The ICU4J library expects
java locales, and when CF returns a string instead of the java locale,
my app defaults back to English as it does not know how to parse the
string equivalent.  Is there a way to force CF7 to return the java
locale, or perhaps another way to deal with this problem?

 

Thanks,

Rich Kroll



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251497
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