On Fri, Dec 21, 2012 at 12:29 AM, Chema Balsas <jbal...@gmail.com> wrote:
> One thing I'm not sure has been mentioned here is localization support. > It's not a requirement for the pure AS->JS translation, but I have the > sense it's quite important for Flex. > > I think the Closure Compiler offers Templates and some kind of > internationalization automation, which could come in handy. Otherwise, > we'll probably need to use another templating engine or develop our own. > My take is that localization should be compatible to how it is done in "real" Flex<http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf6119c-7ffd.html> rather than how Closure does it. Closure seems to me like the swiss army knife that can be used for everything but may not fit into your pocket. For implementing the actual resource bundle loading, RequireJS also offers a mechanism <http://requirejs.org/docs/api.html#i18n>. -Frank-