View previous topic :: View next topic |
Author |
Message |
Yonathan l33t
Joined: 05 Jan 2005 Posts: 662
|
Posted: Sat Jun 11, 2005 5:51 pm Post subject: perl und locales |
|
|
nabend.
es ist mal wieder die leidige lokalisierung... irgendwas passt da immernoch net so, wie das sein soll.
ich habe oft hier im forum gelesen, auch bei wiki das howto beachtet und trotzdem erhalte ich immer wieder im zusammenhang mit perl folgende nachrichten:
Code: | perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "DE@euro",
LC_ALL = "DE@euro",
LANG = "de"
are supported and installed on your system.
| taucht immer wieder auf.
woran liegt es? was ist zu tun?
die /etc/env.d/02locale schaut folgendermaßen aus:
Code: | LC_ALL="DE@euro"
LANGUAGE="DE@euro"
LANG="de"
|
lg. yona _________________ Athlon XP+ 2400 Thunderbird,
Abit NF7
1536MB DDR (266),
Radeon 9200 (256mb)
gentoo 2.6.19-r5 |
|
Back to top |
|
|
pom Apprentice
Joined: 09 Aug 2002 Posts: 212 Location: Magdeburg, Deutschland
|
Posted: Sun Jun 12, 2005 8:01 pm Post subject: |
|
|
Hi,
einfach ein wenig berichtigen:
Code: | /etc/env.d/02locale
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LANGUAGE="de_DE@euro"
LINGUAS=de |
Gruß
POM |
|
Back to top |
|
|
Yonathan l33t
Joined: 05 Jan 2005 Posts: 662
|
Posted: Mon Jun 13, 2005 1:42 pm Post subject: |
|
|
alles klar. habe ich geändert.
muss ich jetzt noch irgenwas machen? oder neukompilieren o.ä.?
lg. yona _________________ Athlon XP+ 2400 Thunderbird,
Abit NF7
1536MB DDR (266),
Radeon 9200 (256mb)
gentoo 2.6.19-r5 |
|
Back to top |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3504 Location: Berlin
|
Posted: Wed May 25, 2011 7:02 pm Post subject: |
|
|
Ist bei mir jetzt auch aufgetreten Code: | perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = (unset),
LC_PAPER = "de_DE.utf8",
LC_ADDRESS = "de_DE.utf8",
LC_MONETARY = "de_DE.utf8",
LC_NUMERIC = "C",
LC_TELEPHONE = "de_DE.utf8",
LC_MESSAGES = "en_US.utf8",
LC_IDENTIFICATION = "de_DE.utf8",
LC_COLLATE = "C",
LC_MEASUREMENT = "de_DE.utf8",
LC_CTYPE = "de_DE.utf8",
LC_TIME = "de_DE.utf8",
LC_NAME = "de_DE.utf8",
LANG = "de_DE.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C"). |
Code: | flammenflitzer olaf # locale
LANG=de_DE.utf8
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=de_DE.utf8 |
Code: | flammenflitzer olaf # locale -a
C
de_DE.utf8
POSIX |
Code: | flammenflitzer olaf # cat /etc/env.d/02locale
LANG="de_DE.utf8"
###LANG="de_DE.UTF-8 UTF-8"
LC_ALL="de_DE.utf8"
GDM_LANG="de_DE.utf8"
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8" |
|
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4609 Location: Germany
|
Posted: Wed May 25, 2011 8:23 pm Post subject: |
|
|
Vermutlich liegt es an deiner gesetzten LC_ALL Variable
Beachte Gentoo Linux: Anleitung zur deutschen Lokalisierung wrote: | Warnung: Vom Gebrauch von LC_ALL wird energisch abgeraten, da diese Variable später nicht einfach überschrieben werden kann. Bitte benutzen Sie es nur zum Testen und setzen Sie es niemals in einer Startdatei. |
|
|
Back to top |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3504 Location: Berlin
|
Posted: Thu May 26, 2011 1:12 pm Post subject: |
|
|
Soll das so aussehenoder komplett entfernen? |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4609 Location: Germany
|
Posted: Thu May 26, 2011 1:40 pm Post subject: |
|
|
Vermutlich sollte für deine Bedürfnisse folgendes in der /etc/env.d/02locale reichen Code: | LANG="de_DE.UTF-8"
GDM_LANG="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_COLLATE="C" |
Beachte das diese Änderungen erst nach einem "env-update" und einem relogin wirksam sind. |
|
Back to top |
|
|
|