File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Flex and the fly likes Flex 3 locales Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Flex 3 locales" Watch "Flex 3 locales" New topic

Flex 3 locales

Justin Chi

Joined: Sep 09, 2009
Posts: 25
Hi all,

I have probelms applying locales features to flex application.

I am using maven flex plugin to build my application like "mvn flex:makeswf -Dlocales=fr_FR"

But below is the info shown on maven console:
[INFO] Building locale en_US

My POM is here

Maven flex refer :

Please note that it works with en_US , so my folder structure is correct.

Thanks advance for your help.

Justin C
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Not sure how the Maven task works, but the Flex compiler just uses -locale=fr_FR to do this. Can you turn on verbose output for Maven to see if it passe that system parameter correctly?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Justin Chi

Joined: Sep 09, 2009
Posts: 25
Thanks, Paul . and yes , you are right about what Flex compiler does.

But maven plugin has discarded "locale" parameter and replacement is "locales".

Below is the maven output with -X , seems not very useful.

I agree. Here's the link:
subject: Flex 3 locales
It's not a secret anymore!