How to internationalize a handlebars + backbone view?

backbone.js, handlebars.js, internationalization, localization, spring-mvc

Solution

Here are some very good resources on internationalization for the client side.

http://2012.jsconf.eu/speaker/2012/08/28/client-side-internationalization.html really worth watching it provides a good explanation of the issues with internationalization and is java-script focused.

http://alexsexton.com/blog/2012/03/the-ux-of-language/ Good article about the internationalization

JavaScript libraries for internationalization:

- https://github.com/SlexAxton/messageformat.js

- http://slexaxton.github.com/Jed/

Standards:

- http://userguide.icu-project.org/formatparse/messages (very useful read)

- http://cldr.unicode.org/ (more of a reference)

Problem

I would like to be able to internationalize a backbone + Handlebars application but I am not clear what the best way to do it. Are there any specific best practices for internationalizing backbone + Handlebar views? On the server side I am using SpringMVC and have access to standard java internationalization facilities.

Original source