nordlabs / ungenotes

0 stars 0 forks source link

Translations management #7

Closed befocken closed 2 years ago

befocken commented 2 years ago

As it is easier to add and manage translations right from the beginning of a project, research the possibilities to work with translations in electron apps and decide on one to be used. Add it to the dependencies and use it for all strings used in the application.

befocken commented 2 years ago

There does not seem to be some npm plugin for localization management. There is one aimed towards symfony projects, but apart from that, there are mainly self-written solutions.

There are some providers of cloud hosted translation services, such as crowdin, but basically all of them are non-free to use, not even for open source projects. That's why we don't have to think much about file formats or the format of the file itself, as we won't need to be compatible with them any time soon.

Therefore, everything speaks for a self-written translation service that stores the translations in a dedicated .json file.