Home > Adobe Flash, Adobe Flex & AIR, Design, Uncategorized > Flex: Unable To Open locale en_US or fr_FR

Flex: Unable To Open locale en_US or fr_FR

If you want to create a localized application you may find yourself in a strange situation when you did all the steps like in the book, but you continue to receive the “Unable to open locale xx_XX” error messages.

To simulate a fix on this issue we will take the example of adding French to your app.

Basic steps:
- The first step is to create a fr_FR folder under the /locale/ one exactly like in the Flex documentation and then add the translated bundle.properties file.
- The second step is to add the compiler options: -locale en_US,fr_FR

Extra steps you need to make in order to get rid of the ugly “unable to open locale” error message:

1. goto the following path :

<flex-install-folder>/sdks/<current-sdk-folder>/bin/

for windows it’s: C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\bin\

2. Execute the following command:

> copylocale.exe en_US fr_FR

That’s all, hope we helped you!
————————-

The TiMeister Team

Bookmark and Share
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogosphere News
  • LinkedIn
  • Live
  • MySpace
  • Tumblr
  • TwitThis
  • Yahoo! Buzz
  • StumbleUpon
  • Technorati
  1. June 24th, 2010 at 02:07 | #1

    With Resource Organizer, you have the possibiliy to read, to edit and to translate with a few click your application resources.
    Internationalize your Flex and Air applications easily !

  2. June 24th, 2010 at 08:45 | #2

    @Ro
    Looks nice. Thanks for sharing ;)

  1. July 19th, 2009 at 11:29 | #1