https://bugzilla.novell.com/show_bug.cgi?id=379356
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=379356#c5
Mike Fabian changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Info Provider|mfabian@novell.com |
--- Comment #5 from Mike Fabian 2008-04-17 11:07:21 MST ---
I am not sure whether I understand your comment.
You want to set LC_ALL=ja ?
Don’t do that, it is even an invalid locale:
mfabian@magellan:~$ LC_ALL=ja locale charmap
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968
mfabian@magellan:~$
And setting LC_ALL would be also quite evil because it would override
*all* user settings for LANG, LC_CTYPE, LC_MESSAGES, ...
You shouldn’t set LANGUAGE either, at least not if there is only
single language, then there is no point in setting LANGUAGE at all.
Setting LANGUAGE is only meaningful if you want to set it to a list of
*more than one* locales to specify a fallback list for the messages.
As one can set such a fallback list in the KDE control centre
(“systemsettings”) it may be useful if more than one language is
listed there. But if only one language is listed there, it makes no
sense at all.
I am not sure whether KDE should set any of the variables LANGUAGE,
LC_ALL, LANG, LC_* at all. Maybe KDE should leave them alone. But
then Gnome applications started from a KDE sessions of course will not
observe changes of language in the KDE control centre. Would that be a
problem?
If you really think you need to set environment variable(s) to
propagate the language setting from the KDE control centre to other
(non-KDE) applications started from KDE (e.g. Gnome applications), I
think it is enough to set only LANG and leave all other variables
alone. And maybe set LANGUAGE to a priority list if and only if there
is more than one language selected in the KDE control centre at the
same time. Don’t set it if there is only one language, set only
LANG then.
None of the other variables is set by default on openSUSE anyway,
i.e. if any of the other variables has been set it has been
done manually by the user and one should avoid to override this.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.