kraft
kraft copied to clipboard
Feature Request: Language selection stored in configuration files
If the user is not able to control environment variables it might be a good idea to have an option for overriding the automatic detection.
Can you elaborate which problem you are trying to solve?
Running kraft on a Chromebook with its default (Linux VM) environment being rest to LANG=C. I would prefer being able to fix things like the currency and language settings from application settings.
Don't make me start asking for an ARM AppImage...
Maximally brutal solution: Create an additional Linux container "Office". Install debconf and locale-gen. Edit /etc/locale.gen to enable the locale you desire and run locale-gen. After that you can nail your personal locale to whatever you want.
@noseshimself IIRC you found a solution for this, right? Please close if so.
I am not very keen on having a own locale management in Kraft. I'd prefer to inherit from environment for simplicity. Most users probably never think nor care about things like locale ;-)
Use the built-in tools. 8-)
Configure /etc/locale.gen correctly. ChromeOS tried to resist a bit but the Linux containers are sufficiently Debian to use the built-in tools and enforce their settings using systemd.
It would still be nice to get an English UI and still get German output (and decimal separators) but that's an add-on.
CASE: Kraft provides UI languages A, B, C. A is the default (english). User has an environment locale D, whis is not translated in Kraft UI. This user is more comfortable with "B" language, better than english.
Then user should be able to select an UI language other than system/default/english.