[Aptitude-devel] Bug#798617: aptitude after upgrade stopped to respect locale settings

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Fri Sep 11 11:52:20 UTC 2015


2015-09-11 04:42 Lev Lamberov:
>Package: aptitude
>Version: 0.7.1-1
>Severity: normal
>Tags: l10n
>
>Dear Maintainer,
>
>after upgrade to 0.7.1-1 version of aptitude it stopped to respest locale
>settings. My default locale is ru_RU.UTF-8, but aptitude still is in English,
>even if running it with
>
>$ LANG=ru_RU.UTF-8 aptitude
>
>or any other environment variable. My current locale settings are:
>
>$ locale
>LANG=ru_RU.UTF-8
>LANGUAGE=
>LC_CTYPE="ru_RU.UTF-8"
>LC_NUMERIC="ru_RU.UTF-8"
>LC_TIME="ru_RU.UTF-8"
>LC_COLLATE="ru_RU.UTF-8"
>LC_MONETARY="ru_RU.UTF-8"
>LC_MESSAGES="ru_RU.UTF-8"
>LC_PAPER="ru_RU.UTF-8"
>LC_NAME="ru_RU.UTF-8"
>LC_ADDRESS="ru_RU.UTF-8"
>LC_TELEPHONE="ru_RU.UTF-8"
>LC_MEASUREMENT="ru_RU.UTF-8"
>LC_IDENTIFICATION="ru_RU.UTF-8"
>LC_ALL=
>
>Tried to reinstall aptitude, aptitude-common and locales, tried to
>rebuild locales with
>
># dpkg-reconfigure locales
>
>Nothing happens, aptitude is still in English. Other software, as I can see,
>respects locale and is translated into Russian.

My unstable is not fully up to date, so maybe there is something else at
play, but I tried to reproduce this and couln't.

Enabling ru_RU.UTF-8 and other locales, and launching with this (note
that it's not LANG) is fine in any locale that I tried:

  LANGUAGE=ru_RU.UTF-8 aptitude

In my quick tests, it didn't work with LC_ALL and LANG, but I don't know
enough of i18n/l10n issues to see if this is a problem by itself, or if
LANGUAGE is the only mandatory one and the others deprecated or with
less rank, or something else.

It happens the same when I tried with cat and ls, for example.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list