You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • I intentionally stayed away from instance / constructor idea (to save space). I would rather look for a i18n method that puts not just ms and ds but also p in place (month and day names and pattern) and return DF

    , i18n: function(l) { // optional locale
        var p,j=require("Storage").read(l||"@locale"); for(p in j)this[p]=j[p]; return this; }
    

    and

    let DF = require("DF").i18n();
    

    I'm though not sure how this becomes part of Bangle.js code... I can see that Bangle.js is somehow a bit different in handling uploaded code... applications... and I could see like modules being shared between multiple apps... so setup looks different.

    PS: @MaBe, did you intentionally use Maerz vs März? Do we have a 7/8 bit issue w/ Espruino? ...I guess we have, since font(s) (intended to be used) would need i18n as well (most fonts cover only ASCII 32..126 (decimal)). In other words: half-baked i18n. :/<

About

Avatar for allObjects @allObjects started