Yep, due to another comment (https://lemmy.world/comment/2637663) I started working on putting something simple together.
Yep, due to another comment (https://lemmy.world/comment/2637663) I started working on putting something simple together.
That won’t work quite well because a lot of it is nested. But shouldn’t be too hard to account for that in a couple of lines of code.
No real reason for using json files, other than it’s a web app build in JavaScript, so json was kinda the default for it. Definitely open to changing to whatever makes it more convenient to manage.
I think I actually just want a system, which will take my English file as the default, and add the missing keys to the rest of the language files.
I suppose my main issue is with the actual language files. In terms of translation we also default to English. It’s just a tedious job to remember to add they new key to every language file, which is a problem I’m facing now.
Due to so many new features, the non-English language files are quite outdated.
Sounds like that will be indeed the easiest and quickest solution for this project.