On Mon, 14 Jan 2019 10:18:43 +0100
Ludwig Nussel
Richard Brown schrieb:
On Sat, 12 Jan 2019 at 11:12, Stephan Kulow
wrote: Am 11.01.19 um 21:36 schrieb Maximilian Trummer:
I noticed that openSUSE will always set the locale to de_DE, even if you set Europe - Austria as region during install. de_AT exists as a locale, so why isn't that picked instead? I haven't tested it myself but it's probably set to de_DE as well for German- speaking Switzerland. Is there a reason behind this or is it an oversight?
What you set as region is your timezone not the locale - the settings are not related. That's the reason.
The settings are somewhat related. If you pick language English (UK) you get your keyboard layout by default selected as English (UK) and your presumed location/timezone set to Europe/London We do the same with Traditional / Simplified Chinese also.
Right now as we only offer "German - Deutsch" in the menu, every German speaker gets Tastaturbelegung set to Deutsch, and their presumed location/timezone as Europe/Berlin
It does lead to the question - why doesn't our install offer the locales German (German) | (Austrian) | (Swiss) the same way we offer English (UK) and English (US)?
I looked into the topic for different reasons the other day. Adding Austria there is probably easy but that is just the tip of the iceberg. Instead of arguing whether or not to add this or that region to YaST it would make sense to get YaST to use the same database as Fedora https://github.com/mike-fabian/langtable. That one is way more complete and actually is actively maintained. I've filed a feature request for that already (fate#327107 for those who have access). That database also already contains the information needed for setting the locale based on geographic location. Besides the more complete database the Fedora installer has more goodies, for example it also allows to dynamically switch keyboard layouts in the installer at any point in time. So one can still enter eg the root password using latin characters with US layout even though the system gets installed with a different keyboard layout by default.
cu Ludwig
JFYI: this is current set of locales yast knows about[1]. I agree with that feature to use some upstream database, that is ideally already packaged, so yast will just read it. But of course it need some priority from managers or community contribution, as YaST team currently is quite busy with various other features and bugs. Josef [1] https://github.com/yast/yast-country/tree/master/language/src/data/languages -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org