From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 11 Nov 2008 15:56:25 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20081111125625.GQ20369@altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20080922071958.GX32012@altlinux.org> <20081111120420.GP20369@altlinux.org> <20081111123936.GF25942@altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="p6hDAtPN9q+ZnUca" Content-Disposition: inline In-Reply-To: <20081111123936.GF25942@altlinux.org> Subject: Re: [devel] menu DURING_INSTALL X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 12:56:25 -0000 Archived-At: List-Archive: List-Post: --p6hDAtPN9q+ZnUca Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 11, 2008 at 03:39:36PM +0300, Alexey I. Froloff wrote: > * Alexey Tourbin [081111 15:21]: > > =D0=A1=D0=BE=D0=B3=D0=BB=D0=B0=D1=81=D0=BD=D0=BE locale(7), =D0=B2 =D0= =BA=D0=B0=D1=87=D0=B5=D1=81=D1=82=D0=B2=D0=B5 =D1=8F=D0=B7=D1=8B=D0=BA=D0= =B0 =D0=B4=D0=BB=D1=8F =D0=BD=D0=B0=D0=B4=D0=BF=D0=B8=D1=81=D0=B5=D0=B9 =D0= =BC=D0=B5=D0=BD=D1=8E =D0=BD=D0=B0=D0=B4=D0=BE =D0=B2=D1=8B=D0=B1=D0=B8=D1= =80=D0=B0=D1=82=D1=8C > > =D1=81=D0=BD=D0=B0=D1=87=D0=B0=D0=BB=D0=B0 LC_ALL, =D0=BF=D0=BE=D1=82= =D0=BE=D0=BC (=D0=B5=D1=81=D0=BB=D0=B8 LC_ALL =D0=BF=D1=83=D1=81=D1=82=D0= =BE=D0=B9) LC_MESSAGES, LANGUAGE, =D0=BF=D0=BE=D1=82=D0=BE=D0=BC > > LANG, =D0=BF=D0=BE=D1=82=D0=BE=D0=BC "C". > LANGUAGE - GNU'=D1=82=D0=BE=D0=B5 =D1=80=D0=B0=D1=81=D1=88=D0=B8=D1=80=D0= =B5=D0=BD=D0=B8=D0=B5, =D0=B8 =D0=B2 locale(7) =D0=BF=D1=80=D0=BE =D0=BD=D0= =B5=D0=B3=D0=BE =D0=BD=D0=B8 =D1=81=D0=BB=D0=BE=D0=B2=D0=B0 =D0=BD=D0=B5 > =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE. man-pages-3.09-alt1. LC_MESSAGES changes the language messages are displayed in and what an affirmative or negative answer looks like. The GNU C-library contains the gettext(3), ngettext(3), and rpmatch(3) functions to ease the use of these information. The GNU gettext family of functions also obey the environment variable LANGUAGE. =2E.. If the second argument to setlocale(3) is empty string, "", for the default locale, it is determined using the follow=E2=80=90 ing s= teps: 1. If there is a non-null environment variable LC_ALL, the value of LC_ALL is used. 2. If an environment variable with the same name as one of the categories above exists and is non-null, its value is used for that category. 3. If there is a non-null environment variable LANG, the value of LANG is used. =D0=95=D1=81=D0=BB=D0=B8 =D1=81=D0=BB=D0=B5=D0=B4=D0=BE=D0=B2=D0=B0=D1=82= =D1=8C =D1=8D=D1=82=D0=BE=D0=BC=D1=83 =D0=B0=D0=BB=D0=B3=D0=BE=D1=80=D0=B8= =D1=82=D0=BC=D1=83 =D0=B2=D1=8B=D0=B1=D0=BE=D1=80=D0=B0 =D0=B4=D0=B5=D1=84= =D0=BE=D0=BB=D1=82=D0=BD=D0=BE=D0=B9 =D0=BB=D0=BE=D0=BA=D0=B0=D0=BB=D0=B8, = =D1=82=D0=BE=D0=B3=D0=B4=D0=B0 =D0=BD=D0=B0=D0=B4=D0=BE: =D0=B2 =D1=81=D0=B8=D0=BB=D1=83 1 =D1=81=D0=BC=D0=BE=D1=82=D1=80=D0=B5=D1= =82=D1=8C LC_ALL; =D0=B4=D0=B0=D0=BB=D0=B5=D0=B5 =D0=B2 =D1=81=D0=B8=D0=BB= =D1=83 2 =D1=81=D0=BC=D0=BE=D1=82=D1=80=D0=B5=D1=82=D1=8C LC_MESSAGES (=D0= =BA=D0=B0=D1=82=D0=B5=D0=B3=D0=BE=D1=80=D0=B8=D1=8F =D0=BD=D0=B0=D0=B4=D0=BF=D0=B8=D1=81=D0=B5=D0=B9); =D0=B4=D0=B0=D0=BB=D0=B5= =D0=B5 =D0=B2 =D1=81=D0=B8=D0=BB=D1=83 =D0=B4=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD= =D0=B5=D0=BD=D0=B8=D1=8F =D0=BA LC_MESSAGES =D1=81=D0=BC=D0=BE=D1=82=D1=80= =D0=B5=D1=82=D1=8C LANGUAGE; =D0=B2 =D1=81=D0=B8=D0=BB=D1=83 3 =D1=81=D0=BC=D0=BE=D1=82=D1=80=D0=B5=D1= =82=D1=8C LANG. =D0=9A=D0=B0=D0=BA, =D0=B8=D0=BC=D0=B5=D1=8F =D0=BD=D0=B0 =D1=80=D1=83=D0= =BA=D0=B0=D1=85 /etc/sysconfig/i18n, =D0=BF=D1=80=D0=BE=D0=BF=D0=B8=D1=81= =D0=B0=D1=82=D1=8C =D1=8F=D0=B7=D1=8B=D0=BA =D0=B2 /etc/menu/methods/lang.h? =D0=A3 =D0=BC=D0=B5=D0=BD=D1=8F =D0=BF=D0=BE=D0=BA=D0=B0 =D0=BF=D0=BE=D0=BB= =D1=83=D1=87=D0=B0=D0=B5=D1=82=D1=81=D1=8F =D1=82=D0=B0=D0=BA: unset LC_ALL LC_MESSAGES LANGUAGE LANG . /etc/sysconfig/i18n lang=3D${LC_ALL:-${LC_MESSAGES:-${LANGUAGE:-${LANG:-"C"}}}} =D0=9F=D1=80=D0=B5=D0=B4=D0=BB=D0=B0=D0=B3=D0=B0=D0=B9=D1=82=D0=B5 =D0=B8= =D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=BD=D1=8B=D0=B9 =D0=B2= =D0=B0=D1=80=D0=B8=D0=B0=D0=BD=D1=82. > =D0=92=D0=BE-=D0=BF=D0=B5=D1=80=D0=B2=D1=8B=D1=85 =D1=82=D0=B0=D0=BC =D1= =81=D0=BF=D0=B8=D1=81=D0=BE=D0=BA, =D0=B2=D0=BE =D0=B2=D1=82=D0=BE=D1=80=D1= =8B=D1=85 =D0=BE=D0=BD=D0=BE =D1=82=D0=B0=D0=BA=D0=B8 =D0=B8=D0=B3=D0=BD=D0= =BE=D1=80=D0=B8=D1=80=D1=83=D0=B5=D1=82 LC_ALL, > LC_xxx =D0=B8 LANG, =D0=B5=D1=81=D0=BB=D0=B8 =D0=BB=D0=BE=D0=BA=D0=B0=D0= =BB=D1=8C =D0=BD=D0=B5 C. >=20 > http://www.gnu.org/software/automake/manual/gettext/The-LANGUAGE-variable= .html >=20 > This is done through a different environment variable, called > LANGUAGE. GNU gettext gives preference to LANGUAGE over LC_ALL > and LANG for the purpose of message handling, but you still need > to have LANG (or LC_ALL) set to the primary language; this is > required by other parts of the system libraries. For example, > some Swedish users who would rather read translations in German > than English for when Swedish is not available, set LANGUAGE to > 'sv:de' while leaving LANG to 'sv_SE'. >=20 > Note: The variable LANGUAGE is ignored if the locale is set to > 'C'. In other words, you have to first enable localization, by > setting LANG (or LC_ALL) to a value other than 'C', before you > can use a language priority list through the LANGUAGE variable.=20 --p6hDAtPN9q+ZnUca Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkkZgPkACgkQfBKgtDjnu0aMKgCghUET9ezRfNmeY7UsswI7pPzA QV8AoJ97ealMu9Umqg/Lmd9rb6PES7t1 =RKcb -----END PGP SIGNATURE----- --p6hDAtPN9q+ZnUca--