[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LANGUAGE и LANG



On Fri, 14 Jan 2005 14:19:03 +0300 Artem Chuprina wrote:
 >>> 
 >>>     Не, не поможет. Что должен делать debconf, если они не совпадают?
 GA>> он должен делать, что делают очень многие программы, которые
 GA>> используют gettext - у них переменная LANGUAGE имеет бОльший приоритет
 GA>> и при конфликтах используется значение LANGUAGE а не LANG. как
 GA>> максимум, его надо научить выдавать при этом предупреждение

 AC> К счастью, нифига. Установки LANG=C вполне достаточно для того, чтобы
 AC> он начал разговаривать по-английски.

    Гм. Вернулись к началу. Неужели тяжело проверить? Ок. Повторяю:

$ env | grep LANG
LANG=C
LANGUAGE=ru_RU.KOI8-R

$ sudo dpkg-reconfigure debconf
Configuring debconf
-------------------

??????, ???????????? debconf, ???????? ?????? ??????????? ?????????. ?? ??????
??????? ???????? ??????????.

?????????? ????????? ???????????? ????? ????????? ????????????? ??????????,
"????????? ??????" ?????????? ????? ???????????? ??????? ????????? ?????????, ?
Gnome ? Kde -- ??????????? X ??????????, ?????????? ? ??????????????? ???????
?????(?? ????? ?????????????? ? ????? X-?????). ????????? "?? ??????????
?????????" ???????? ??? ???????? ????????? ? ????? ??????? ?????????. ????????
????????? ?????? ????????? ?? ????????????? ???????? ?? ???????.

  1. диалоговый           3. Gnome  5. из текстового редактора
  2. из командной строки  4. Kde    6. пакетный

Какой интерфейс нужно использовать для настройки пакетов?

[....]

Прошу обратить внимание, что кое-что таки перевелось. Если я использую dialog, то переводятся кнопки, например)

$ unset LANGUAGE 
$ sudo dpkg-reconfigure debconf
Configuring debconf
-------------------

Packages that use debconf for configuration share a common look and feel. You
can select the type of user interface they use.

The dialog frontend is a full-screen, character based interface, while the
readline frontend uses a more traditional plain text interface, and both the
gnome and kde frontends are modern X interfaces, fitting the respective desktops(but may be used in any X environment). The editor frontend lets you configure
things using your favorite text editor. The noninteractive frontend never asks
you any questions.

  1. Dialog  2. Readline  3. Gnome  4. Kde  5. Editor  6. Noninteractive

What interface should be used for configuring packages?


        serge@matveev spb ru                       Serge Matveev & ...
        ICQ 3575357




Reply to: