Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
perl und locales
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
Yonathan
l33t
l33t


Joined: 05 Jan 2005
Posts: 662

PostPosted: Sat Jun 11, 2005 5:51 pm    Post subject: perl und locales Reply with quote

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
View user's profile Send private message
pom
Apprentice
Apprentice


Joined: 09 Aug 2002
Posts: 212
Location: Magdeburg, Deutschland

PostPosted: Sun Jun 12, 2005 8:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Yonathan
l33t
l33t


Joined: 05 Jan 2005
Posts: 662

PostPosted: Mon Jun 13, 2005 1:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3504
Location: Berlin

PostPosted: Wed May 25, 2011 7:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4609
Location: Germany

PostPosted: Wed May 25, 2011 8:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3504
Location: Berlin

PostPosted: Thu May 26, 2011 1:12 pm    Post subject: Reply with quote

Soll das so aussehen
Code:
LC_ALL=""
oder komplett entfernen?
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4609
Location: Germany

PostPosted: Thu May 26, 2011 1:40 pm    Post subject: Reply with quote

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
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