so I have small utility classes, like one that does format some strings formating for me. Then i my main I do:
const Utils = require('./utils/utils') .... Utils.formatForMe(1000)
formatForMe can return some arbitrary string. (I have few more similar classes)
So now I am adding i18n. On my main I create i18n object that I can then use in main, but I don’t know how to “have it available” inside my utils classes.
Obviously (at least as I understand it), I can’t use
global. (With global I have it available in my renderer stuff).
Many thanks for any ideas ;]