Flex resourceBundle compiler support

What is the correct way to configure the flex compiler.xml in a flex project to support the resourceBundle property files for different locales. I've tried many different variations of the compiler settings and I still get this error

"Error:Unable to resolve resource bundle "testLocale" for locale "en_US"."

I've attached a simple hello world project that tries to use the resource bundle.

thanks,
--mike



Attachment(s):
testFlexLocale.zip
2 comments
Comment actions Permalink

You need to add locale\en_US as source path in IDEA settings or in
compiler config file

Mike Nimer wrote:

What is the correct way to configure the flex compiler.xml in a flex project to support the resourceBundle property files for different locales. I've tried many different variations of the compiler settings and I still get this error

"Error:Unable to resolve resource bundle "testLocale" for locale "en_US"."

I've attached a simple hello world project that tries to use the resource bundle.

thanks,
--mike



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

trying to use the source-path element in the compiler-config.xml did not work.

<source-path append="true">
<path-element>locale/</path-element>
</source-path>

However adding the en_US folder as a src folder in the module settings did fix the problem.

Thanks,
---mike

0

Please sign in to leave a comment.