Multilanguage app?


#1

Hi,

what is the best way to create a multilanguage app in electron?
I have a idea that I have different files with the translated strings and set a language attribute which is loading teh corresponding file.
But I haven’t yet realized something like that. So that I need some input.

Cheers


#2

Instead of putting string in a place directly, you put there function that eats strings alias or some specific id and return that specific string from coresponding file. It can’t be simpler.