Bug 456050 - Adding second langue turns language into dutch no matter where I put it.
Summary: Adding second langue turns language into dutch no matter where I put it.
Status: RESOLVED DUPLICATE of bug 192019
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_language (show other bugs)
Version: 5.25.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-27 20:09 UTC by Carlo Wood
Modified: 2022-06-28 18:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlo Wood 2022-06-27 20:09:49 UTC
SUMMARY
***
STEPS TO REPRODUCE
1. Go to System Settings --> Personalization --> Regional Settings --> Language
2. Add on top of "American English (default)" the language "Nederlands". Put "Nederlands" at the bottom.
3. Save, reboot, run plasma/kde
4. On konsole prompt type an error (for example:  sudo foobar). It will report
an error in Dutch.  The direct reason for seeing Dutch is (apparently) due to
the environment variable LANGUAGE which is set to "en_US:nl".  Changing that
into "nl:en_US" doesn't make a difference: still dutch error messages.
Only when changing LANGUAGE into "en_US" you get English error messages.


OBSERVED RESULT


EXPECTED RESULT
Everything is still 100% English (en_US), but now spelling checking also works when I type in Dutch.


ADDITIONAL INFORMATION

There is another bug; if you choose in the list of Formats (not Language) en_NL - then everything breaks because that locale doesn't exist and is not supported. I think it SHOULD be supported: everyone in the Netherlands speaks English - this basically a two-language country, one of them being English. Aka  en_NL makes a LOT of sense, exactly like all the other en_XY locales. Nevertheless, if I select it, then I expect it to work - and it doesn't: you can't generate that locale because certain idiots think it is not needed and refuse to add it (see for example https://sourceware.org/bugzilla/show_bug.cgi?id=14085)
Comment 1 Nate Graham 2022-06-28 18:52:14 UTC
This is Bug 192019. See the discussion there for the gory details. :) 

TL;DR: if you want American English to be the system language, delete all other languages underneath it, as they will trigger this bug. If you want American English to be used as the *fallback* language, make sure it's positioned *last*, not *first.*

*** This bug has been marked as a duplicate of bug 192019 ***