Cool - Thanks
s.write('locale',` exports.name = function() {return ${JSON.stringify(lang)};}; exports.temp = function(n){return n + ${JSON.stringify(locale[lang].t)};}; exports.translate = function(t) { return ${JSON.stringify(locale[lang].tr)}[t]);}; `);
@MaBe started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Cool - Thanks