Pages

Wednesday, June 30, 2010

Localization in FlashDevelop

I explained how to internationalize a flex application on this early post.
Now I want to show you a simpler way of localization within the IDE which I am applying to my new game: ZummBallz.
It is really simple and consits on declaring "Additional Compiler Options" in "Project -> Properties... -> Compiler Options"
I created the folder locale with to subfolders, en_US and es_AR (you can add any other locales, it is just an example), which contain my resource bundles. Then I added the new options:
  • -source-path+= locale/{locale}
  • -locale=en_US,es_AR

No comments:

Post a Comment