On Tue, 15 Sep 2009 07:28:30 +0200
Sandro Tosi <mo...@debian.org> wrote:

> Hello Alexander
> 
> On Sat, Sep 12, 2009 at 08:51, Alexander Galanin <a...@galanin.nnov.ru> wrote:
> > Package: reportbug
> > Version: 4.6
> > Severity: normal
> >
> > My locale is ru_RU.UTF-8. When I run reportbug to report an issue in
> > aptitude, it generates e-mail with text on russian like this:
> >
> >    ...
> >    -- Package-specific info:
> >    aptitude 0.4.11.11 скомпилировано в Aug  3 2009 16:22:21
> >    Компилятор: g++ 4.3.3
> >    Скомпилировано с помощью:
> >      apt версии 4.8.0
> >      Версия NCurses 5.7
> >      Версия libsigc++: 2.0.18
> >      Поддержка ept включена.
> >    ...
> >
> > I think that localized information is not useful in a bug report, so
> > package-specific information script should be called with "C" locale.
> 
> can you confirm that
> 
> $ LANG=C /usr/share/reportbug/handle_bugscript /usr/share/bug/aptitude
> /tmp/546276
> $ cat /tmp/546276
> 
> does what you request?

No. Setting LANG variables does not changes behaviour (message still
printed on russian). Changing LC_MESSAGES to C does what I request.
But I think that is is better to set all locale variables to C or set
LC_ALL=C to override all locales in one shot.

-- 
Alexander Galanin

Attachment: pgp6XTef6YtUy.pgp
Description: PGP signature

Reply via email to