Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst] Probleme mit locale
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) Diskussionsforum
View previous topic :: View next topic  
Author Message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Sat Oct 11, 2008 1:23 pm    Post subject: [gelöst] Probleme mit locale Reply with quote

Hallo Zusammen,

ich habe meine /etc/env.d/02locale wie hier beschrieben eingerichtet.

Wenn ich nun aber locale eingeben bekomme ich folgende Fehlermeldungen:

Code:
vdr02 # locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=de_DE.UTF-8
vdr02 #


Hat Jemand eine Idee, wie man das fixen kann?


Last edited by 3PO on Sat Oct 11, 2008 6:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
AmonAmarth
l33t
l33t


Joined: 03 Mar 2005
Posts: 727

PostPosted: Sat Oct 11, 2008 4:26 pm    Post subject: Re: Probleme mit locale Reply with quote

3PO wrote:
Hat Jemand eine Idee, wie man das fixen kann?


was stehte in /etc/locale.gen?
der "de_DE.UTF-8 UTF-8" eintrag ist vorhanden? wenn nicht: eintragen und locale-gen ausführen
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Sat Oct 11, 2008 4:39 pm    Post subject: Re: Probleme mit locale Reply with quote

AmonAmarth wrote:

was stehte in /etc/locale.gen?


Code:
de_DE ISO-8859-1
de_DE@euro ISO-8859-15
en_US ISO-8859-1
en_US.UTF-8 UTF-8


Quote:
der "de_DE.UTF-8 UTF-8" eintrag ist vorhanden? wenn nicht: eintragen und locale-gen ausführen


Code:
vdr02 /# locale-gen
 * Generating 4 locales (this might take a while) with 1 jobs
 *  (1/4) Generating de_DE.ISO-8859-1 ...                                                                                                                                                                [ ok ]
 *  (2/4) Generating de_DE.ISO-8859-15@euro ...                                                                                                                                                          [ ok ]
 *  (3/4) Generating en_US.ISO-8859-1 ...                                                                                                                                                                [ ok ]
 *  (4/4) Generating en_US.UTF-8 ...                                                                                                                                                                     [ ok ]
 * Generation complete
vdr02 /#
Code:
vdr02 / # env-update; source /etc/profile
>>> Regenerating /etc/ld.so.cache...
vdr02 / #


...Brachte leider auch nichts. :cry:
Back to top
View user's profile Send private message
SvenFischer
Veteran
Veteran


Joined: 05 Feb 2003
Posts: 1033
Location: Berlin

PostPosted: Sat Oct 11, 2008 5:51 pm    Post subject: Reply with quote

versuch es doch mal NUR mit "de_DE.UTF-8 UTF-8" in der /etc/locale.gen
Back to top
View user's profile Send private message
ChrisJumper
Advocate
Advocate


Joined: 12 Mar 2005
Posts: 2401
Location: Germany

PostPosted: Sat Oct 11, 2008 5:58 pm    Post subject: Reply with quote

Hmmm 3PO,

ich hab jetzt mal gesucht und man findet auch Andere die das Problem haben, aber bei Progammen die nicht mit UTF-8 arbeiten.. oder ISO-Dings verwenden.

Ich hatte mal Probleme mit den Locales als ich einen Editor verwendet hab der die Konfigdatei /etc/env.d/02locale NICHT im utf-8 Format gespeichert hat.

Also schreib sie einfach nochmal komplett neu und gehe sicher das der Verwendete Editor den richtigen Zeichensatz verwendet.

Grüße
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Sat Oct 11, 2008 6:35 pm    Post subject: Reply with quote

Gelöst :lol:

Ich habe die /etc/env.d/02locale wie folgt angepasst:
Code:
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
GDM_LANG="de_DE.UTF-8"


Alles Andere habe ich gelöscht.

Die /etc/locale.gen angepasst:

Code:
de_DE.UTF-8 UTF-8
de_DE ISO-8859-1
de_DE@euro ISO-8859-15
en_US ISO-8859-1
en_US.UTF-8 UTF-8


dann:

Code:
vdr02 / # locale-gen
 * Generating 5 locales (this might take a while) with 1 jobs
 *  (1/5) Generating de_DE.UTF-8 ...                                       [ ok ]
 *  (2/5) Generating de_DE.ISO-8859-1 ...                               [ ok ]
 *  (3/5) Generating de_DE.ISO-8859-15@euro ...                    [ ok ]
 *  (4/5) Generating en_US.ISO-8859-1 ...                               [ ok ]
 *  (5/5) Generating en_US.UTF-8 ...                                        [ ok ]
 * Generation complete

und:
Code:

vdr02 / # env-update; source /etc/profile
>>> Regenerating /etc/ld.so.cache...
vdr02 / #


Jetzt sind die Fehlermeldungen weg. :wink:

Code:
vdr02 / # locale -a
C
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
deutsch
en_US
en_US.iso88591
en_US.utf8
german
POSIX
vdr02 / #


Thx @ all. 8)


Last edited by 3PO on Sat Oct 11, 2008 6:50 pm; edited 3 times in total
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6780

PostPosted: Sat Oct 11, 2008 6:38 pm    Post subject: Re: Probleme mit locale Reply with quote

3PO wrote:
Code:
de_DE ISO-8859-1
de_DE@euro ISO-8859-15
en_US ISO-8859-1
en_US.UTF-8 UTF-8


Quote:
der "de_DE.UTF-8 UTF-8" eintrag ist vorhanden? wenn nicht: eintragen und locale-gen ausführen

Wo siehst Du in obigem Code diese Zeile? Enstprechend wird de_DE.UTF-8 auch nicht generiert:
Code:
vdr02 /# locale-gen
 * Generating 4 locales (this might take a while) with 1 jobs
 *  (1/4) Generating de_DE.ISO-8859-1 ...                                                                                                                                                                [ ok ]
 *  (2/4) Generating de_DE.ISO-8859-15@euro ...                                                                                                                                                          [ ok ]
 *  (3/4) Generating en_US.ISO-8859-1 ...                                                                                                                                                                [ ok ]
 *  (4/4) Generating en_US.UTF-8 ...                                                                                                                                                                     [ ok ]
 * Generation complete
vdr02 /#
Back to top
View user's profile Send private message
AmonAmarth
l33t
l33t


Joined: 03 Mar 2005
Posts: 727

PostPosted: Sun Oct 12, 2008 8:48 am    Post subject: Re: Probleme mit locale Reply with quote

mv wrote:
3PO wrote:
Code:
de_DE ISO-8859-1
de_DE@euro ISO-8859-15
en_US ISO-8859-1
en_US.UTF-8 UTF-8


Quote:
der "de_DE.UTF-8 UTF-8" eintrag ist vorhanden? wenn nicht: eintragen und locale-gen ausführen

Wo siehst Du in obigem Code diese Zeile? Enstprechend wird de_DE.UTF-8 auch nicht generiert:
Code:
vdr02 /# locale-gen
 * Generating 4 locales (this might take a while) with 1 jobs
 *  (1/4) Generating de_DE.ISO-8859-1 ...                                                                                                                                                                [ ok ]
 *  (2/4) Generating de_DE.ISO-8859-15@euro ...                                                                                                                                                          [ ok ]
 *  (3/4) Generating en_US.ISO-8859-1 ...                                                                                                                                                                [ ok ]
 *  (4/4) Generating en_US.UTF-8 ...                                                                                                                                                                     [ ok ]
 * Generation complete
vdr02 /#


richtig! das ganze rauslösch gefummel in der /etc/env.d/02locale hätte er sich sparen können wenn er das erkannt hätte ;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum 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