There is a huge mess in the translations and it's hard to keep it in sync. This complements the effort started in #481 and simply just sort translation files by the keys.
Then checking for the missing translations is just doing diff between the file that we consider as a base/authoritative (i guess it's en.json or no.json) what massively speeds up translations.
Command used for the sort: for file in *.json; do jq -S '.' $file > $file.sorted; mv $file.sorted $file; done
There is a huge mess in the translations and it's hard to keep it in sync. This complements the effort started in #481 and simply just sort translation files by the keys.
Then checking for the missing translations is just doing diff between the file that we consider as a base/authoritative (i guess it's
en.json
orno.json
) what massively speeds up translations.Command used for the sort:
for file in *.json; do jq -S '.' $file > $file.sorted; mv $file.sorted $file; done