Internationalization for flash applications

倖福魔咒の 提交于 2020-01-31 10:24:15

问题


I'm working with a flash application (non-flex), and I'd like to support internationalization. In flex there's a nice abstraction ResourceManager in which you provide resource bundles for each locale. Is there any equivalent for actionscript?


回答1:


How about the Globalization package from AS Foundry?




回答2:


Haven't used it myself, but this one looks interesting:

http://www.sephiroth.it/weblog/archives/2005/12/actionscript_30_first_attempt.php

It's based on the GNU gettext implementation and tool chain.




回答3:


We created a nice little tool around gettext:

http://code.google.com/p/asgettext/

With this tool you can easily create multilingual application using a default internationalization tool.




回答4:


As a side note to the suggested packages above, you may want to create and store all of your language content in database and then generate the resource bundle files. This way you can have a central interface to manage it all but still enjoy the performance of resource bundles..

good luck!



来源:https://stackoverflow.com/questions/655845/internationalization-for-flash-applications

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!