Hi,
I have a Marionnette view which I based off the default hello world widget that you can automatically build using the generator and CSUI-SDK. The view has a templateHelper which is where it gets all the handlebars patterns. Now, I want to internationalize my widget, moving all my strings into an nls/lang.js file. I can easily access the i18n plug-in's lang object to get any string in the lang.js file, but where I am stuck is how do I now get that into a handlebar template?
I know that in my templateHelper, I *could* return every single stupid string in the lang.js file as part of the return of the helper function (that's where I'm getting my basic substitutions.
That is, inside my widget view....
var MyWidgetView = Marionette.ItemView.extend({