Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trotz "export LANG="de_DE@euro" kein deutsch
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
MiC
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2004
Posts: 76

PostPosted: Thu Sep 09, 2004 8:52 pm    Post subject: Trotz "export LANG="de_DE@euro" kein deutsch Reply with quote

Hi

Ich hab wie in der Anleitung in die /etc/profile
Code:
export LANG="de_DE@euro"

eingefügt aber trotzdem bleiben nano, wget usw auf englisch! Kann mir einer sagen wo das dran liegen kann?
Besten Dank schonmal!

MiC
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Thu Sep 09, 2004 9:02 pm    Post subject: Reply with quote

Vermutlich hast du keine Sprache "de_DE@euro"...

HTH!
/dev
Back to top
View user's profile Send private message
MiC
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2004
Posts: 76

PostPosted: Thu Sep 09, 2004 9:15 pm    Post subject: Reply with quote

und wie find ich das heraus? wie kann ich diese "sprache" bekommen?

MiC
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Thu Sep 09, 2004 9:23 pm    Post subject: Reply with quote

MiC wrote:
wie kann ich diese "sprache" bekommen?

Gar nicht! Tipp: 'ls -l /usr/share/locale | $PAGER'

Gruß,
/dev
Back to top
View user's profile Send private message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Fri Sep 10, 2004 12:49 am    Post subject: Reply with quote

Setz mal nicht LANG sondern LC_ALL auf de_DE@euro ... sollte helfen, nach meiner Erfahrung bisher werten wesentlich mehr Programme LC_ALL bevorzugt vor LANG aus.

Daherist das setzen von LC_ALL und LANG immer recht sinnvoll.

MfG
_________________
[img]https://www.biersekte.de/biersektebanner.gif[/img]
Back to top
View user's profile Send private message
MiC
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2004
Posts: 76

PostPosted: Fri Sep 10, 2004 10:11 am    Post subject: Reply with quote

LC_ALL hab ich auch gesetzt! bringt leider keine besserung!
Noch jemand ne idee?


MiC
Back to top
View user's profile Send private message
tgurr
Retired Dev
Retired Dev


Joined: 27 Jan 2004
Posts: 571
Location: germany

PostPosted: Fri Sep 10, 2004 4:36 pm    Post subject: Reply with quote

nls in den useflags und danach wget neu gemerged ?
Back to top
View user's profile Send private message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Fri Sep 10, 2004 9:48 pm    Post subject: Reply with quote

Wenn nls drin ist und Sprache installiert, mach mal ein:

set | grep LC_ALL

und guck mal ob das gesetzt ist ... und wirklich auf de_DE steht.

MfG
_________________
[img]https://www.biersekte.de/biersektebanner.gif[/img]
Back to top
View user's profile Send private message
holgi1789
n00b
n00b


Joined: 20 Aug 2004
Posts: 71
Location: Cologne, EU

PostPosted: Fri Sep 10, 2004 11:10 pm    Post subject: Reply with quote

Neo_0815 wrote:
Wenn nls drin ist und Sprache installiert, mach mal ein:

set | grep LC_ALL

und guck mal ob das gesetzt ist ... und wirklich auf de_DE steht.


Hallo, habe das selbe Problem.

Code:

percy root # set |grep LC_ALL
LC_ALL=de_DE@euro
percy root # set |grep LANG
LANG=de_DE@euro
LANGUAGE=49


Variablen sind richtig gesetzt, hatte zum Test auch nano neu emergt und ist immer noch auf Englisch.

Ach ja,
Code:

percy root # locate de_DE@euro
/usr/share/i18n/locales/de_DE@euro


exisitert auch.

Gruß,
Holgi
Back to top
View user's profile Send private message
Xk2c
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 240

PostPosted: Sat Sep 11, 2004 3:16 pm    Post subject: Reply with quote

hmm das ist merkwürdig.
Mit den gleichen Einstellungen funktioniert das hier.

mach doch mal ein :
Code:
 root # locale
LANG=de_DE@euro
LC_CTYPE="de_DE@euro"
LC_NUMERIC="de_DE@euro"
LC_TIME="de_DE@euro"
LC_COLLATE="de_DE@euro"
LC_MONETARY="de_DE@euro"
LC_MESSAGES="de_DE@euro"
LC_PAPER="de_DE@euro"
LC_NAME="de_DE@euro"
LC_ADDRESS="de_DE@euro"
LC_TELEPHONE="de_DE@euro"
LC_MEASUREMENT="de_DE@euro"
LC_IDENTIFICATION="de_DE@euro"
LC_ALL=de_DE@euro

_________________
useful Xterm, Aterm and RXVT-Unicode features
Back to top
View user's profile Send private message
MiC
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2004
Posts: 76

PostPosted: Sat Sep 11, 2004 5:30 pm    Post subject: Reply with quote

Ich habe alles versucht was ihr geschrieben habt! "locale" gibt bei mir das gleiche wie bei Xk2c aus. Trotzdem bleibt alles englisch!
Noch jemand ne idee?

MiC
Back to top
View user's profile Send private message
PuckPoltergeist
Apprentice
Apprentice


Joined: 28 Jul 2004
Posts: 189

PostPosted: Sat Sep 11, 2004 5:33 pm    Post subject: Reply with quote

LC_ALL sollte nicht gesetzt sein. Sind bei dir alle Komandos/Anwendungen englisch, oder nur ein paar?
_________________
printk(KERN_CRIT "Whee.. Swapped out page in kernel page table\n");
linux-2.6.6/mm/vmalloc.c
Back to top
View user's profile Send private message
MiC
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2004
Posts: 76

PostPosted: Sat Sep 11, 2004 5:51 pm    Post subject: Reply with quote

es ist alles auf englisch! ist mir schon klar das ich nicht alles auf deutsch bekommen kann! Was kann ich tun?

MiC
Back to top
View user's profile Send private message
Xk2c
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 240

PostPosted: Sat Sep 11, 2004 6:27 pm    Post subject: Reply with quote

wie hast du denn die locale gesetzt, in welcher Datei.

Ich hab nämlich mal mitbekommen, dass einer die Datei
/etc/env.d/02locale angelegt hatte.
Das funktioniert! Aber nur wenn da nicht irgendwo noch ein Leerzeichen dazwischen ist.
( In besagten Fall war das Leerzeichen, in der Zeile _hinter_ der Variablen ).

OK war jetzt nur noch so eine Idee die ich grad hatte
_________________
useful Xterm, Aterm and RXVT-Unicode features
Back to top
View user's profile Send private message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Sun Sep 12, 2004 12:13 am    Post subject: Reply with quote

PuckPoltergeist wrote:
LC_ALL sollte nicht gesetzt sein. Sind bei dir alle Komandos/Anwendungen englisch, oder nur ein paar?


LC_ALL sollte gerade gsetzt sein - ist eine Abkürzung und setzt alle LC_* ... oder willst du die alle selber setzen ?

MfG
_________________
[img]https://www.biersekte.de/biersektebanner.gif[/img]
Back to top
View user's profile Send private message
PuckPoltergeist
Apprentice
Apprentice


Joined: 28 Jul 2004
Posts: 189

PostPosted: Sun Sep 12, 2004 12:28 am    Post subject: Reply with quote

Neo_0815 wrote:
LC_ALL sollte gerade gsetzt sein - ist eine Abkürzung und setzt alle LC_* ... oder willst du die alle selber setzen ?

MfG


Es gibt Programme, die setzen in bestimmten Situationen einzelne LC-Variablen für sich neu. Wenn da LC_ALL gesetzt ist, haust du denen dazwischen. Wenn du alles setzen willst, gibt es dafür LANG. Ein "export LANG=de_DE@euro" setzt dir auch alle LC-Variablen (bzw. leitet sie aus LANG ab), läßt dabei aber LC_ALL frei.
_________________
printk(KERN_CRIT "Whee.. Swapped out page in kernel page table\n");
linux-2.6.6/mm/vmalloc.c
Back to top
View user's profile Send private message
Xk2c
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 240

PostPosted: Sun Sep 12, 2004 12:33 am    Post subject: Reply with quote

womit wir wieder beim Eingangspost wären. :roll:
_________________
useful Xterm, Aterm and RXVT-Unicode features
Back to top
View user's profile Send private message
PuckPoltergeist
Apprentice
Apprentice


Joined: 28 Jul 2004
Posts: 189

PostPosted: Sun Sep 12, 2004 12:39 am    Post subject: Reply with quote

Neo_0815 wrote:
Setz mal nicht LANG sondern LC_ALL auf de_DE@euro ... sollte helfen, nach meiner Erfahrung bisher werten wesentlich mehr Programme LC_ALL bevorzugt vor LANG aus.


Alle Programme sollten LC_ALL zuerst auswerten.

LC_ALL -> die anderen LC_Variablen -> LANG

LANG wird nur für die LC-Variablen genommen, welche nicht gesetzt wurden. Das reicht aber aus. Wenn es mit LANG nicht funktioniert, funktioniert es mit LC_ALL auch nicht.
_________________
printk(KERN_CRIT "Whee.. Swapped out page in kernel page table\n");
linux-2.6.6/mm/vmalloc.c
Back to top
View user's profile Send private message
PuckPoltergeist
Apprentice
Apprentice


Joined: 28 Jul 2004
Posts: 189

PostPosted: Sun Sep 12, 2004 12:13 pm    Post subject: Reply with quote

Xk2c wrote:
womit wir wieder beim Eingangspost wären. :roll:


Hol dir mal die sourcen von wget und entpack die irgendwo hin, wo du zugriff drauf hast (home-Verzeichnis). Führ dort mal configure aus, da sollte dann

Quote:

checking whether NLS is requested... yes
language catalogs: bg ca cs da de el es et fr gl he hr hu it ja nl no pl pt_BR ro ru sk sl sv tr uk zh_CN zh_TW
checking for msgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for gmsgfmt... /usr/bin/msgfmt
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for gettext in -lintl... no
checking for gettext... yes


erscheinen. Passiert das bei dir?
_________________
printk(KERN_CRIT "Whee.. Swapped out page in kernel page table\n");
linux-2.6.6/mm/vmalloc.c
Back to top
View user's profile Send private message
holgi1789
n00b
n00b


Joined: 20 Aug 2004
Posts: 71
Location: Cologne, EU

PostPosted: Tue Sep 14, 2004 1:00 am    Post subject: Reply with quote

Also eine mögliche Fehlerquelle habe ich gefunden.
in /etc/env.d/02locale war bei einem Rechner LC_CTYPE gesetzt. Ein löschen der Datei und env-update führte zur deutschen Sprachunterstützung, wobei nur LANG in der /etc/profile gesetzt wurde.
IMHO könnte es daran liegen, wie die Anführungszeichen ausgewertet werden, denn in der 02locale stand LC_CTYPE in double quotes wurde jedoch von locale nicht so angezeigt (die anderen Sprachvariablen jedoch schon).

Witzigerweise klappt dies auf einem anderen Rechner überhaupt nicht, wobei die deutsche Sprachunterstützung vorhanden ist. Selbst das oben genannte configure von wget liefert de.
Das finde ich nun jedoch sehr seltsam.
Back to top
View user's profile Send private message
Xk2c
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 240

PostPosted: Tue Sep 14, 2004 7:50 am    Post subject: Reply with quote

new_holgi wrote:
Also eine mögliche Fehlerquelle habe ich gefunden.
in /etc/env.d/02locale war bei einem Rechner LC_CTYPE gesetzt. Ein löschen der Datei und env-update führte zur deutschen Sprachunterstützung, wobei nur LANG in der /etc/profile gesetzt wurde.

Genau das war meine erste Locale Konfiguration.
Also jeder der das Problem hat, sollte genau das mal ausprobieren.
in /etc/env.d/ nachschauen obs da eine locale datei hat (wird nicht per default eingerichtet) diese mal aus den Verzeichnis löschen und in /etc/profile
Code:
export LANG="de_DE@euro"

eintragen, danach
Code:
env-update && source /etc/profile

dann sollte das schon funktionieren.
Ich meine sogar, dass ein neubauen von Nano für deutsche Sprache nicht notwendig gewesen ist.

Tschuldigung wenn das jetzt etwas besserwisserisch klingt, aber ich war nach den hier beschrieben Fehlern net mehr 100pro sicher.
_________________
useful Xterm, Aterm and RXVT-Unicode features
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum