[Bug]: No such file or directory: '/app/translations/et.json
Closed this issue · 1 comments
meybonomme commented
Linux distribution
Fedora 39
Desktop environment
Gnome 45.2
Version of Timer
latest
Bug description
App won't open. My system language is Estonian (Language code is 'et').
Output of flatpak run com.github.vikdevelop.timer
:
Traceback (most recent call last):
File "/app/timer.py", line 19, in <module>
locale = open(f"/app/translations/{r_lang}.json")
FileNotFoundError: [Errno 2] No such file or directory: '/app/translations/et.json'
Steps to reproduce
No response
Output in terminal
No response
meybonomme commented
Fall back language must be always English if translation is not present.