Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Userbezogene Lokalisation?
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
saty
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2003
Posts: 111
Location: Dagobah - Germany

PostPosted: Fri Aug 05, 2005 2:27 pm    Post subject: Userbezogene Lokalisation? Reply with quote

Hi @all,

ist es eigentlich möglich die Lokalisation des Systems userbezogen anzupassen?
Meine Frau hätte gerne ihren KDE-Desktop komplett in Deutsch (samt nicht-KDE Anwendungen wie Gimp zB.), und ich möchte mein E17 samt Anwendungen aber lieber in Englisch lassen.

Bis jetzt weiss ich nur, wie ich das komplette System entweder Deutsch oder Englisch einstelle.

Aber es musste doch die Möglichkeit geben, das in User-Configfiles anzugeben (.xinitrc?).
_________________
Satyrium - Retro-Gaming
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5329

PostPosted: Fri Aug 05, 2005 3:24 pm    Post subject: Reply with quote

setze doch die locale variablen entsprechend doch einfach beim einloggen.
.bashrc, bei consolen login, wird auch bei graphischen login ausgeführt werden(zumindestend bei mir mit gdm).
die .xinitrc wird, soweit ich das weis nur dann ausgewertet, wenn mann per startx in der console das x-window system startet.

du braucht natürlich, damit die .bashrc auch beim graphichen-login ausgewertet wird folgendes:

die datei .bash_profile im user-home-verzeichniss mit folgendem inhalt(wenn nicht schon vorhanden):

Code:
#This file is sourced by bash when you log in interactively.
[ -f ~/.bashrc ] && . ~/.bashrc



gruß

firefly
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
saty
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2003
Posts: 111
Location: Dagobah - Germany

PostPosted: Fri Aug 05, 2005 8:47 pm    Post subject: Reply with quote

Hi firefly,

Ich starte per startx. Kein grafischer Login.

Also könnte ich bei meiner Frau in die .xinitrc folgendes eintragen:

Code:
LANG="de_DE.utf8"
LANGUAGE="de_DE.utf8"
LC_ALL="de_DE.utf8"


Und bei mir dann eben die englische Variante?

Wie kann ich es dann noch erreichen, daß das Interface überall englisch ist bei mir, und trotzdem Umlaute und dergleichen korrekt dargestellt werden?
_________________
Satyrium - Retro-Gaming
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9626
Location: beyond the rim

PostPosted: Fri Aug 05, 2005 10:12 pm    Post subject: Reply with quote

saty wrote:
Hi firefly,

Ich starte per startx. Kein grafischer Login.

Also könnte ich bei meiner Frau in die .xinitrc folgendes eintragen:

Code:
LANG="de_DE.utf8"
LANGUAGE="de_DE.utf8"
LC_ALL="de_DE.utf8"

a) wenn das ganze auch für nicht-GUI Programme gehen soll würd ich eher die .bashrc nehmen
b) ein "export" davor sollte auch nicht schaden

Quote:
Wie kann ich es dann noch erreichen, daß das Interface überall englisch ist bei mir, und trotzdem Umlaute und dergleichen korrekt dargestellt werden?

Indem du nicht LC_ALL setzt sondern die ganzen LC_ Variablen (s. "locale" Befehl) einzeln auf den jeweiligen Wert.
Back to top
View user's profile Send private message
saty
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2003
Posts: 111
Location: Dagobah - Germany

PostPosted: Fri Aug 05, 2005 10:44 pm    Post subject: Reply with quote

Fühl Dich bedankt Genone. :)

Hab obiges bei meiner Frau jetzt (mit export) in die bashrc eingetragen, und bei mir gar nichts.
Ergebnis wie gewünscht: Bei ihr _alles_ deutsch, bei mir englisch + dt. Umlaute.

Meine /etc/locales.build sieht jetzt so aus:

Code:

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


Und die /etc/env.d/02locales hab ich dann entsprechend leergelassen (das wäre ja dann die systemweite Einstellung, oder?).

So klappts jetzt... :)
_________________
Satyrium - Retro-Gaming
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