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

Bug#536476: install-info: The DIR file is generated translated in certain situations



Package: install-info
Version: 4.13a.dfsg.1-4
Severity: important

I have this *user* setting:

$ echo $LANGUAGE
bg:mk:ru:sr:ro

My locale and the default system locale of this particular machine is
bg_BG.UTF-8, but there are users who prefer and use Greek, Turkish and
German locales.  Apparently when I do upgrades and install-info is
invoked by the dpkg trigger, it rebuilds the dir file in Russian
(because there are no Bulgarian and Macedonian texinfo translations).

This is displayed correctly in info, but not in Emacs (screenshots
attached).  While that's probably an Emacs bug, I don't believe it is
correct to rebuild a system-wide dir file translated.  I can read and
understand Russian, but some other users of this host cannot.

IMHO the correct behavior would be fall back to the system locale if
install-info is invoked with admin privileges, or -- in case there is
no reliable distro-wide way to determine it -- to fallback to the C
locale.  Perhaps the latter is even more correct.

My guess that this worked properly before is that dpkg's install-info
didn't have any translations, at least for the text in the DIR file (I
didn't bother to check, though).

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages install-info depends on:
ii  libc6                         2.9-12     GNU C Library: Shared libraries

install-info recommends no packages.

install-info suggests no packages.

-- no debconf information

Attachment: info.png
Description: PNG image

Attachment: emacs.png
Description: PNG image


Reply to: