You shouldn't need en_US.  It looks like the properties files required
by the framework (collections, containers, etc...) needed to be copied
to your locale/nl directory.  If you copy those, and translate them if
you want, then the framework will have the resources it needs. 

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Besite - Bart
Sent: Wednesday, October 24, 2007 3:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 3 Beta 2 : Resource Bundle Problem

Hi,

I just tried out some of the new localization features of Flex 3 I
learned at Adobe Max Europe (Barcelona was great btw ;) but I had some
problems to get it working  in Flex 3 Beta 2.

This is what I tried :

- for the Dutch version of my application I created a map /locale/nl in
my project folder, where I put my .properties files
- I changed the compiler arguments to : -source-path=../locale/{locale}
-locale=nl

I then got a lot of errors :

Unable to resolve resource bundle "collections" for locale "nl".
Unable to resolve resource bundle "containers" for locale "nl". 
Unable to resolve resource bundle "controls" for locale "nl". 
Unable to resolve resource bundle "core" for locale "nl".      
Unable to resolve resource bundle "effects" for locale "nl".      
Unable to resolve resource bundle "formatters" for locale "nl". 
Unable to resolve resource bundle "logging" for locale "nl".      
Unable to resolve resource bundle "messaging" for locale "nl".    
Unable to resolve resource bundle "rpc" for locale "nl". 
........

It took me some time to find out that the locale en_US was required.
The problem was solved by changing the compiler arguments to : 
source-path=../locale/{locale} -locale=nl,en_US 

Bart Ronsyn



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



Reply via email to