Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Locale
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW
View previous topic :: View next topic  
Author Message
Mr Adam
Apprentice
Apprentice


Joined: 28 Jun 2006
Posts: 210
Location: Poland Tarnov

PostPosted: Sat Apr 28, 2007 5:38 pm    Post subject: Locale Reply with quote

Witam, z mojego komputera korzysta również siostra, i tutaj mam mały problem.
stworzyłem plik /etc/env.d/99locale
Code:
LANG="en_GB.UTF-8"
LC_MESSAGES="C"

i locale wyglądają tak:
Code:
adam@Gentoo ~ $ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES=C
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

chcę żeby system był po angielsku i wyświetlał polskie znaczki, natomiast u siostry chciałem żeby gnome było po polsku, zrobiłem pliczek ~/.bashrc z zawartością
Code:
karolina@Gentoo /home/adam $ cat ~/.bashrc
LANG="pl_PL"
LC_ALL="pl_PL"
następnie:
source ~/.bashrc

ale konto siostry jest po angielsku, oczywiście polski lang jest zainstalowany, wybór języka przez GDM nic nie daje..
przy okazji spytam się, skoro u mnie konto jest ustawione na język angielski, to dlaczego firefoxa, thunderbirda mam po polsku?
_________________
Miły Chomiczek
Back to top
View user's profile Send private message
BeteNoire
Veteran
Veteran


Joined: 25 Sep 2005
Posts: 1827

PostPosted: Sat Apr 28, 2007 6:09 pm    Post subject: Reply with quote

A pokaż:
Code:
grep LINGUAS /etc/make.conf

_________________
powered by power plant
Back to top
View user's profile Send private message
akroplas
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2005
Posts: 87
Location: J-L

PostPosted: Sat Apr 28, 2007 8:13 pm    Post subject: Reply with quote

@Mr Adam: gdm odpala sie z roota, a tam ustawiłeś locale brytyjskie.
Skrypty ~/.bashrc sa do basha.
Język w przeglądarce ustawia sie niezależnie od locali

No to wyjasnilismy pytania :)
Nie używam osobiście gnome, ale wejdz w ustawienia na koncie siostry i poszukaj zmiany języka... pewnie znajdziesz.
Pozdrawiam :) [O tym ze locali nie zmienisz, bo gdm odpala sie na innych to wiem z doswiadczenia, co innego jak Xy odpalisz przez starx, wtedy wszystko bedzie smigac]
Pozdrawiam


Last edited by akroplas on Sun Apr 29, 2007 11:17 am; edited 1 time in total
Back to top
View user's profile Send private message
Mr Adam
Apprentice
Apprentice


Joined: 28 Jun 2006
Posts: 210
Location: Poland Tarnov

PostPosted: Sun Apr 29, 2007 10:38 am    Post subject: Reply with quote

Code:
Gentoo adam # grep LINGUAS /etc/make.conf
LINGUAS="pl de fr ja en"

hmm, gdzie w ustawieniach gnome mogę zmienić język?
jeszcze poszukam na google ;-)
_________________
Miły Chomiczek
Back to top
View user's profile Send private message
Mr Adam
Apprentice
Apprentice


Joined: 28 Jun 2006
Posts: 210
Location: Poland Tarnov

PostPosted: Wed May 09, 2007 8:47 pm    Post subject: Reply with quote

Problem dalej aktualny, ale może podchodzę do niego w zły sposób ;-)
mam siostrę i ona chce używać gnome w języku polskim, ja chce używać gnome w angielski/japońskim ( może narazie pozostańmy przy angielskim :-) )
gdm powinien być po polsku
Jak Wy byście to zrobili?
_________________
Miły Chomiczek
Back to top
View user's profile Send private message
rofro
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 234
Location: Piaseczno, Poland

PostPosted: Wed May 16, 2007 9:44 pm    Post subject: Reply with quote

Mr Adam wrote:
Jak Wy byście to zrobili?


google: gdm language

Są dwa rozwiązania:
1. http://forums.gentoo.org/viewtopic-p-4054183.html#4054183

Quote:
"reszcie bydła" ustaw zmienne w /etc/env.d/99jakis_plik lub w /etc/profile export LANG=co_tam_chcesz natomiast rootowi wpisz np.
Kod:
echo "export LANG=inne_cos_tam" >> ~/.bashrc


2. Oraz drugie
http://forums.debian.net/viewtopic.php?t=1993&
Quote:

If you do not want to change default locales for your entire system (because of partial translations oetc.), but you share your machine with inexperienced users and have them to log in via GDM, you can make it present the prompt in your desired language by inserting LANG=sth_STH in the beginning of /etc/init.d/gdm.

http://www.gnome.org/projects/gdm/docs/2.16/configuration.html

ale to może nie zadzialac zawsze:

1. http://gnomesupport.org/forums/viewtopic.php?p=55202#55202
Quote:
And of course your language must be supported by selected theme. I saw several themes with support for just several languages (missing "locales" inside theme).


2. https://answers.launchpad.net/ubuntu/+question/5430
_________________
Linux #358594
gentoo bug comment 175808#c26
You either must have patience or contribute to open source. There is only one guaranteed way to have open source do what you want it to do, and that's write it yourself.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW 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