Localisation
simonmeusel opened this issue ยท 2 comments
simonmeusel commented
Can I somehow pass localised string (for example for found bug?
)
But this should probably be added as a feature for this in general
๐
rhysd commented
It would be nice. Do you have any suggestion of i18n library? I haven't tried i18n in JS.
simonmeusel commented
In my app I used https://github.com/electron/electron/blob/master/docs/api/app.md#appgetlocale to get the language, and then used different JSON files, on for each supported language. (and a fallback language)