View previous topic :: View next topic |
Author |
Message |
nmap Tux's lil' helper
Joined: 28 Nov 2004 Posts: 122 Location: /dev/poznan/debiec
|
Posted: Sun Dec 12, 2004 7:27 pm Post subject: Stage1 locale jak ustawić |
|
|
Mam problem czytam sobie Dokumentacje z gentoo.org
i przed rozpoczeciem "Bootstrapping the System" jest taki opis
Quote: |
You will probably only use one or maybe two locales on your system. Up until now after compiling glibc a full set of all available locales will be created. As of now you can activate the userlocales USE flag and specify only the locales you will need in /etc/locales.build.
Code Listing 9: Activate the userlocales USE flag especially for glibc
# mkdir /etc/portage
# echo "sys-libs/glibc userlocales" >> /etc/portage/package.use
Now specify the locales you want to be able to use:
Code Listing 10: Opening /etc/locales.build
# nano -w /etc/locales.build
Code Listing 11: Specify your locales
en_US/ISO-8859-1
en_US.UTF-8/UTF-8
de_DE/ISO-8859-1
de_DE@euro/ISO-8859-15
|
No i spoko niby wysztko rozumiem wchodze do pliku locales.build ustawiam następujące lokale
Code: |
en_US/ISO-8859-1
en_US.UTF-8/UTF-8
pl_PL/ISO-8859-2
pl_PL.UTF-8/UTF-8
|
no i wychodze zapisuje i lece dalej po zakończeniu całego procesu instaliacji po ustawieniu zmiennych LANG=pl_PL ,LC_ALL=pl_PL
i wpisaniu polecenia locale dostaje następujący komunikat :
Code: |
locale: Cannot set LC_CTYPE to default locale: No such file or directorylocale: Cannot set LC_MESSAGES to default locale: No such file or directorylocale: Cannot set LC_ALL to default locale: No such file or directory
LANG=pl_PL
LC_CTYPE="pl_PL"
LC_NUMERIC="pl_PL"
LC_TIME="pl_PL"
LC_COLLATE="pl_PL"
LC_MONETARY="pl_PL"
LC_MESSAGES="pl_PL"
LC_PAPER="pl_PL"
LC_NAME="pl_PL"
LC_ADDRESS="pl_PL"
LC_TELEPHONE="pl_PL"
LC_MEASUREMENT="pl_PL"
LC_IDENTIFICATION="pl_PL"
LC_ALL=pl_PL
|
Moze wiecie jak to ruszyc ? _________________
FSF OpenBSD Open Source . You Have the Power !
|
|
Back to top |
|
|
Rav70 l33t
Joined: 11 Feb 2004 Posts: 607 Location: Poland
|
Posted: Sun Dec 12, 2004 8:43 pm Post subject: |
|
|
Zobacz ten wątek
Pozdr. Rav _________________ Q: Why is Microsoft's Product Support a failure?
A: Because Microsoft needs a Support Group instead. |
|
Back to top |
|
|
|