https://bugs.kde.org/show_bug.cgi?id=344588

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DOWNSTREAM
             Status|CONFIRMED                   |RESOLVED

--- Comment #15 from Nate Graham <n...@kde.org> ---
After looking at the code all day, I feel able to say something
semi-intelligent here. :) Basically all this KCM does is set the $LANGUAGE
environment variable. It's up to apps to respect that environment variable when
it's set in addition to the $LANG environment variable.

Unfortunately this appears to be a convention rather than a formal spec; the
POSIX spec specifies that the values set by $LANG are overridden by setting
other $LC_* environment variables. However it does not specify a way to
override the language. This looks to be an oversight in the spec, sadly.
However despite this, many apps will treat the $LANGUAGE environment variable
as an override for $LANG, which is what this KCM expects.

I'm not surprised that there are apps which don't respect $LANGUAGE and always
use the language in $LANG. It's just a bug in the app, sadly. There's nothing
we can do from the KDE side because if we tried something tricky like not
setting $LANG at all and only setting $LANGUAGE, apps which don't read
$LANGUAGE would always be displayed in English (via the fallback C locale)
instead of respecting the languages you set in the Languages KCM. It would
simply trade one set of bugs for another.

Ultimately you just need to report bugs on individual apps that aren't
respecting the value of $LANGUAGE ans are always reading $LANG instead. Sorry
for the bad news. Hope that makes sense.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to