i have some static html files and want to change the static text inside with client side modification through mustache.js.
it seems that this was possible Twitter\'s mu
You can use lambdas along with some library like i18next or something else.
{{#i18n}}greeting{{/i18n}} {{name}}
And the data passed:
{ name: 'Mike', i18n: function() { return function(text, render) { return render(i18n.t(text)); }; } }
This solved the problem for me