views:

73

answers:

3

What options are there for storing and accessing translated strings in a Flex/Flash application? Ideally, I would like to share translation data with my Django website's internationalization data. This leads me to believe that some version of gettext would be best. But what is the industry standard, and the best implementation and documentation?

Related (but never answer-accepted, and old) post:

http://stackoverflow.com/questions/655845/internationalization-for-flash-applications

A: 

For Flex use the ResourceManager.

Adrian Pirvulescu
+1  A: 

Have a look on Lupo Manager

michael
+1: @michael: nice, this looks like it might play well with i18n in django - maybe i can even share content. could you contrast it at all with the alternate suggestion of Mate/AFusion?
eruciform
Eruciform: I do not play with both Lupo Manager and Mate, so I can't give any comment on them. As I know, Lupo Manager is just a tool to help you to create the resource bundle more easily and Mate is a framework, so you need to decide do you want to use a framework for your project.
michael
+1  A: 

In my opinion localization with Flex is sort of ... unsatisfactory. If you use the ResourceManager you can't work with the design view. Instead of "Hello" there would be something like "ResourceManager.get....."

A better solution is to use LocalizationMaps, which is sort of a mate extension: http://mate.asfusion.com/news/flex-i18n-with-localizationsmaps-an-amazing-extension

hering
+1: @hering: nice, this looks like it might play well with i18n in django - maybe i can even share content. could you contrast it at all with the alternate suggestion of LupoManager?
eruciform
I don't know LupoManager as far as I know you could extract the strings which should be translated with LupoManager. This isn't possible with LocalizationMaps. So if you want to use the localizationMaps you have to know what strings you want to translate and you also need to have resources.properties.But if you use LupoManager you also have strings in your application like "{resourceManager.get[TYPE]('[BUNDLE]','[KEY]')}". You could use LupoManager to extract the strings an LocalizationMaps to handle the resources.
hering