Unable to resolve resource bundle “datamanagement” in Flex Builder 3
If you get this error in Flex Builder 3 when using the AdvancedDataGrid, then you’ll be pleased to know there is an easy fix, caused by a missing file called datamanagement.properties
The problem stems from using a locale other than en_US (the default). There is a swc file installed by default with Flex Builder, located at C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\frameworks\locale\en_US\datavisualization_rb.swc. This swc file contains the datamanagement.properties file (and also charts.properties amongst others).
The other locale would have been created by using ‘copylocale en_US en’, which copies the en_US localised swc to the new en locale folder. However, copylocale doesn’t copy the contents of datavisualization_rb.swc, so you have to do this manually yourself.
A swc file is essentially just a zip file, which means you can open easily with something like 7Zip. Once opened, you’ll need to extract the 11 .properties files from /locale/en_US into your project directory, usually within a locale folder, for example /locale/en.
If you don’t have a locale folder within your project, then create it in the project root with a sub folder named the locale code you are using. You then need to point Flex Builder to include this in the build, by going to Settings then Flex Build Path. Add ‘locale/{locale}’ to the list of paths, and you should be all good to go.
There is more information about this problem at the Adobe Flex Bug and Issue Management System.
-
Calendar
May 2013 M T W T F S S « Jul 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
Meta





