Hi Rob, thanks for your hints. It's all perfectly understandable except this: "create an empty frameworks/locale/Your_Locale directory to make the compiler happy". You mean to create the empty directory inside the installed Flex Builder SDK? That would still mean manually modifying the SDK, though just by adding an empty directory.
Thanks, Borek --- In [email protected], Robert Vollmar <rvoll...@...> wrote: > > Hello, > > The frameworks/flex-config.xml file contains this entry, which tells the compiler to look for a directory for the locale: > > <path-element>locale/{locale}</path-element> > > First, you can remove this entry or create an empty frameworks/locale/Your_Locale directory to make the compiler happy. I prefer to make the empty directory instead of modifying this file because the goal is to not modify the SDK. Next, add the directory containing the SWCs, wherever they are, to the library path. e.g. > > My directory structure: > ls -R > locales test.mxml > > ./locales: > aa_AA > > ./locales/aa_AA: > MyProject SDK > > ./locales/aa_AA/MyProject: > social_interactions.properties > > ./locales/aa_AA/SDK: (These were created with copylocale.) > airframework_rb.swc framework_rb.swc rpc_rb.swc > > Command: > mxmlc -locale=aa_AA -source-path=locales/{locale}/MyProject -library-path+=locales/{locale}/SDK test.mxml > > Code snippet: > <Label text="{ResourceManager.getInstance().getString('social_interactions', 'greeting')}" /> > > - Rob > > > On 2/20/09 8:24 AM, "Borek" <bore...@...> wrote: > > Is it possible to use Flex localization without creating additional > folders in ...\Flex Builder 3 Plug-in\sdks\3.1.0\frameworks\locale ? > I'm asking for the sake of version control - I would like to add > localization capabilities to my Flex app but don't want to check the > Flex SDK in or depend on manual actions (every new developer shouldn't > be required to run 'copylocale' prior to compiling the project). > > I have tried to add the generated SWCs to my libs directory but that > didn't work. > > Any solutions? > > Thanks, > Borek > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links >

