You are not logged in.

#1 2005-02-02 08:47:49

bauerber
Member
Registered: 2004-12-20
Posts: 40

Localisation problem (trying to get de_DE.utf8 to work)

Hi there,

I tried switching to a different locale on my system (de_DE), but somehow I seem to have overlooked some settings. Problem is, I cannot even use the man-pages as I get the following error when e.g. calling "man mount"
<error>
[bauerber@home ~]$ man mount
invalid charset name
Cannot open the message catalog "man" for locale "de_DE.utf8"
(NLSPATH="<none>")

Error executing formatting or display command.
System command (cd /usr/man && (echo ".pl 1100i"; /bin/gunzip -c
'/usr/man/man8/mount.8.gz'; echo ".\""; echo ".pl n(nlu+10")
| /usr/bin/gtbl | /usr/bin/nroff -Tlatin1 -mandoc | /bin/less -is) exited
with status 256.
No manual entry for mount
</error>

I retrieved the locale with locale -a and decided to use de_DE.utf8 for full umlaut-support.

rc.conf looks like this
[snip]
HARDWARECLOCK="UTC"
TIMEZONE=Europe/Berlin
KEYMAP=de-latin1-nodeadkeys.map.gz
CONSOLEFONT=lat0-12.psfu.gz
USECOLOR="yes"
[/snip]

and my profile like this:
[snip]
# Locale settings (find your locale with 'locale -a')
export LANG="de_DE.utf8"
export LC_COLLATE="C"
[/snip]

I gathered from other postings that LANGUAGE,LOCALE,XLOCALE should also be set (I guess also to 'de_DE.utf8'??).
But will that solve the above mentioned problem with the man pages? The error does not mention any problem with the locale itself, but with the charset. I also tried setting LANG to de_DE.iso885915, de_DE.iso88591 and de_DE@euro. all produced the same error message when calling a man page.
So. Where am I going wrong?

Thanks in advance

Bernhard

Offline

#2 2005-02-02 18:09:06

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Localisation problem (trying to get de_DE.utf8 to work)

here is mine ~/.bashrc

alias ls='ls --color=auto'
PS1='[u@h W]€ '
export BROWSER='firefox'
export LC_CTYPE='sv_SE.UTF-8'
export LANG='en_GB'

you should try to set LC_CTYPE to utf8


arch + gentoo + initng + python = enlisy

Offline

#3 2005-02-04 08:15:40

bauerber
Member
Registered: 2004-12-20
Posts: 40

Re: Localisation problem (trying to get de_DE.utf8 to work)

thanks for your suggestion.
i'll try this weekend, hope it helps  wink

Offline

#4 2005-02-05 17:40:53

bauerber
Member
Registered: 2004-12-20
Posts: 40

Re: Localisation problem (trying to get de_DE.utf8 to work)

Hi xerxes,

tried setting the LC_CTYPE, didn't change anything sad

xerxes2 wrote:

here is mine ~/.bashrc

alias ls='ls --color=auto'
PS1='[u@h W]€ '
export BROWSER='firefox'
export LC_CTYPE='sv_SE.UTF-8'
export LANG='en_GB'

you should try to set LC_CTYPE to utf8

Could you post all relevant settings from profile, rc.conf a.s.o that are concerned with language settings?

Maybe the problem is my german setting in correlation with the man pages?

<error>
Cannot open the message catalog "man" for locale "de_DE.utf8"
</error>

Maybe the utf8 part needs to be written UTF-8?

Hope sombody can give me some more pointers...
Meanwhile I'll try some of the permutations on utf8 smile

@xerxes: Thanks nevertheless!

greez

Bernhard

Offline

#5 2005-02-05 19:12:26

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Localisation problem (trying to get de_DE.utf8 to work)

i don't know what it could be,
LC_CTYPE = de_DE.utf8 , works for me,
try and set it in /etc/profile also,
I'm using urxvt terminal, could be worth a try,


arch + gentoo + initng + python = enlisy

Offline

#6 2005-02-06 11:57:26

bauerber
Member
Registered: 2004-12-20
Posts: 40

Re: Localisation problem (trying to get de_DE.utf8 to work)

Hi xerxes,

don't know why, but obviously the LESSCHARSET setting was wrong. After I set it to latin1 instead of latin0 (default setting), the manpages are working again.
Everything else is set to de_DE.utf8. I hope I haven't wrecked anything else in the process of trying out those settings   wink

Greez

Bernhard

Offline

Board footer

Powered by FluxBB