Want to Localize Your Flex/AIR Apps? It’s Easy! I’ll Show You How…Again!

For anyone who is interested in localizing their Flex or AIR applications, I’ve written a very simple series that I’ve contributed to the Adobe Developer Connection.  As I’ve mentioned before, localization may seem like an enormous task, for any application, but the Flex framework provides great utilities to make this process surprisingly easy!  The articles are part of a two-part series which focuses solely on the task of localizing Flex and AIR applications using the Flex framework.  I’ve previously talked about Part 1, but now Part 2 is published and the series is complete!

Localization in Flex – Part 1: Compiling resources into an application
Localization in Flex – Part 2: Loading resources at runtime

Here is the end-product of the tutorial, which you can emulate for yourself in your own applications!

The series covers a variety of ways to attack the task of localization.  Different approaches have different advantages as well as disadvantages, but with the complete series, you will hopefully have a better understanding of what approach will suit your needs and your customer’s needs.

Until next time, happy localizing!

7 Responses to Want to Localize Your Flex/AIR Apps? It’s Easy! I’ll Show You How…Again!

  1. Pingback: Want to Localize Your Flex/AIR Apps? It’s Easy! I’ll Show You How! « Charles @ Adobe

  2. Pingback: Tweets that mention Want to Localize Your Flex/AIR Apps? It’s Easy! I’ll Show You How…Again! « Charles @ Adobe -- Topsy.com

  3. Pingback: Cool Stuff with the Flash Platform – 2/25/11 | Finding Out About

  4. fred says:

    Charles

    this is awesome – thank you for posting it. On a related note, do you have any advice on resources that describe the Japanese IME support in Flex? I’m working on porting my Flex application to Japanese and have been very happy with a lot of the coding but have hit a roadblock using the IME class (see thread I started on Adobe Forums http://forums.adobe.com/thread/822853). I don’t know how to go about this – IME questions generally remain unanswered on most forums, the IME class is not open source unlike most of Flex, and the Adobe documentation is uncharacteristically short / not very descriptive. Any thoughts on who could be able to answer a question about this?

    thank you in advance!

    f

    • Charles Bihis says:

      Hi Fred, thanks! As for your issues with the IME class, I would say that the forums are generally the best place to get help. Alex Harui, as you probably know, is one of the most knowledgeable and experienced engineers on the Flex team and it looks like he’s already responded to your forum post. An alternative for answers would be the Flex Coders Yahoo! Group (http://tech.groups.yahoo.com/group/flexcoders/). They are also very active and they have a lot of great engineers answering questions there as well. Anyways, hope you find the answers you’re looking for!

      Charles

  5. FuYuHui says:

    “Localization in Flex “is very useful. But I have one question. We can use “{resourceManager.getString(‘resources’,’contact.field.name’)}” in mxml. But how can we realize this in ActiveScript, for some components are dynamicly created. Without binding, the text would not change with local change operation. Thanks a lot.

    • Charles Bihis says:

      The resourceManager object is actually an instance of a singleton of the ResourceManager class that is already loaded in the MXML files. In ActionScript, you can do the same by using the static getInstance() method on the ResourceManager class, like so:

      ResourceManager.getInstance().getString(“resources”, “contact.field.name”)

      Hope that helps!