Can some one post an example of combining these libraries together? including the handler for the i18n and marionette.
Thanks
Can some one post an example of combining these libraries together? including the handler for the i18n and marionette.
Thanks
point backbone.marionette templates to compile hendlebars. this can be done on your main.js:
configure your app to use handlebars and i18n: this can be done on your config.js:
use it on any of your modules:
this will fetch templates + i18n files and render
I use i18n-JS, which is everything-agnostic, so you can use it with any server-side framework (Ruby on Rails for me) and any Javascript template engine (Haml Coffee for me).
Here is an example:
So there is nothing to do about Backbone nor Marionette side.