lucaswerkmeister / tool-lexeme-forms

Wikidata tool to create lexemes with pre-populated forms (e. g. declensions or conjugations)
https://lexeme-forms.toolforge.org/
Other
11 stars 7 forks source link

If there are no UI translations for a template language, fall back to English #13

Closed nikkiwd closed 3 years ago

nikkiwd commented 3 years ago

Right now it crashes if there's no entry in the translations file for the language, which means you have to add an entry to the translations file before you can work on a template. Adding a key with no translations fixes it and causes all the messages to fall back to English, but it would be nicer to handle it more gracefully and automatically fall back to English when there's no entry.

The tests still check whether the language is in the translations file so that adding the translations doesn't get forgotten completely.