Bug#536476: install-info: The DIR file is generated translated in certain situations
On Fri, Jul 10, 2009 at 04:36:08PM +0200, Norbert Preining wrote:
> Please be specific. Are you talking about character encodings?
No, not at all. The introductory text in the DIR file is in Russian, or
more specifically in ru_RU.UTF-8, and this has nothing to do with the
system configuration.
Perhaps I should explain the meaning of the LANGUAGE environment
variable (it's a GNU extension).
My setting "bg:mk:ru:sr:ro" means: Use Bulgarian if available,
Macedonian as second choice; then fallback to Russian, Serbian and
Romanian, respectively. If neither of these is available, use the C
locale.
Other users of the host use different locales. bg_BG.UTF-8 is the
system locale, because the two admins are Bulgarian and most of the
users are Bulgarian (so new users don't have to setup their locale; the
system locale is assumed by default). It doesn't mean that all users
prefer Bulgarian, so when they do C-h i in Emacs, it's surprsising for
them.
> I still don't understand what you mean with "recreated in German" or
> "recreated in Russian".
Apparently the introductory text of the DIR file is marked as a
translatable string in install-info, so a translation is used for
its recreation, when available. I don't think that's a good idea, and
even if we assume that I don't understand the concept of a "system
locale", I honestly don't think that /usr/share/info/dir should appear
in a language that is merely my personal "fallback" preference.
> Can you please send me one dir file "Recreated in Russian", plus
> then unset all specific variable (LANGUAGE LC_*) and recreate and
> send that, too.
If I unset these variables, it'll be in English, naturally. I don't
want to unset them every time I do an upgrade. The install-info program
should do that.
Reply to: