Re: Howto set LANG for KDE
On Friday 27 April 2001 10:08, Karolina Lindqvist wrote:
> On Wednesdayen den 25 April 2001 17:33, Viktor Rosenfeld wrote:
>
>
> > So my question is: How do I set LANG globally for KDE.
>
> My experience is that if I set lang, debian stops working.
> I have tried LANG=sv_SE and LANG=sv, and even setting the
> individual LC_XXX environment variables. It gives various
> interesting results, but all gives a non-working system. Even
> 'ls' aborts with an error message.
>
> Maybe something is misconfigured on my system, but I really can't
> figure out what. I have libc6-2.2.4 and locales-2.2.4. I also
> have not been able to figure out how to successfully set locale
> to any other language than the default with LANG=POSIX.
>
> On the other hand, kde works good in setting its language to
> Swedish, and that I did by changing the language setting within
> kde. All menus and texts are in Swedish, where they have been
> translated. I don't know what setting LANG would improve on the
> situation, except for making none-kde applications crash.
>
> In any case, the following shows one interesting effect of
> changing 'LANG':
>
> [/u/home/pgd (5)]$ export LANG=sv_SE
> [/u/home/pgd (5)]$ ls
> ???? ??????? ?0?0?0???????
> ???????????? ?????????? 00000?????
> ??? ??????? ????????????
> ??????????? ?????? ????????
> ???????????????? ???????????? ?????????????
> ????? ??????? ??????????
> ?????? ????????????? ?????
> ???????? ????????????? ???????
> ?????? ???? ??????????
Works fine here. What the output of locale -a? E.g., on potato:
ds02(0) ~/tmp > locale -a | grep sv
sv
sv_FI
sv_SE
ds02(0) ~/tmp > LANG=sv_SE.ISO8859-1 ls does-not-exists
ls: does-not-exists: Filen eller katalogen finns inte
ds02(1) ~/tmp > LANG=sv_SE.ISO8859-1 ls ~/.bash*
/home/ach/.bash_history /home/ach/.bash_profile
/home/ach/.bash_logout /home/ach/.bashrc
ds02(0) ~/tmp > LANG=sv_SE ls ~/.bash*
/home/ach/.bash_history /home/ach/.bash_profile
/home/ach/.bash_logout /home/ach/.bashrc
ds02(0) ~/tmp > LANG=sv ls ~/.bash*
/home/ach/.bash_history /home/ach/.bash_profile
/home/ach/.bash_logout /home/ach/.bashrc
ds02(0) ~/tmp > env | grep ^L[AC]
LANG=en_US.ISO8859-1
Achim
>
> -- Karolina
>
>
> --
> To UNSUBSCRIBE, email to debian-kde-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
>
--
To me vi is Zen. To use vi is to practice zen. Every command is
a koan. Profound to the user, unintelligible to the uninitiated.
You discover truth everytime you use it.
-- reddy@lion.austin.ibm.com
Reply to: