Describe the bug
The Flatpak application crashes immediately on startup when the system language is set to Dutch. It seems the application is trying to look up translated UI strings (like 'Hoofdkleuren') inside a color dictionary where only English keys exist.
How to reproduce
- Set the system locale/language to Dutch (nl_BE / nl_NL).
- Install Rewaita via Flatpak:
flatpak install io.github.swordpuffin.rewaita
- Launch the application:
flatpak run io.github.swordpuffin.rewaita
- The application crashes instantly with a Python Traceback.
Expected behavior
The application should open without crashing, even if the system language is set to Dutch.
Terminal Output / Traceback
Traceback (most recent call last):
File "/app/share/rewaita/rewaita/main.py", line 156, in do_command_line
win = RewaitaWindow(application=self)
File "/app/share/rewaita/rewaita/window.py", line 107, in __init__
self.custom_page = CustomPage(self)
~~~~~~~~~~^^^^^^
File "/app/share/rewaita/rewaita/custom_theme_page.py", line 136, in __init__
self.append(CustomBundle(title, bundle))
~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/app/share/rewaita/rewaita/custom_theme_page.py", line 112, in __init__
colors = gnome_colors[title.get_label()]
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
KeyError: 'Hoofdkleuren'
Context
- Installation Method: Flatpak (officially supported version)
- OS / Desktop Environment: Linux / GNOME
- Language/Locale: Dutch (Nederlands)
Additional Context / Verification
I have verified that this is 100% a locale issue.
When forcing the application to start in English using the following command, the app starts successfully without any crashes:
env LC_ALL=en_US.UTF-8 flatpak run io.github.swordpuffin.rewaita
Describe the bug
The Flatpak application crashes immediately on startup when the system language is set to Dutch. It seems the application is trying to look up translated UI strings (like 'Hoofdkleuren') inside a color dictionary where only English keys exist.
How to reproduce
flatpak install io.github.swordpuffin.rewaitaflatpak run io.github.swordpuffin.rewaitaExpected behavior
The application should open without crashing, even if the system language is set to Dutch.
Terminal Output / Traceback
Context
Additional Context / Verification
I have verified that this is 100% a locale issue.
When forcing the application to start in English using the following command, the app starts successfully without any crashes:
env LC_ALL=en_US.UTF-8 flatpak run io.github.swordpuffin.rewaita