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

Bug#471102: module-assistant: German translation tells you to press 'J' to install necessary packages, though you must press 'y'



On Sat, Jul 6, 2013 at 10:06 PM, Julian Andres Klode <jak@debian.org> wrote:
> On Sat, Mar 15, 2008 at 11:29:43PM +0100, Erik Hahn wrote:
>> If additional packages must be installed by the auto-install command you
>> will be asked in the German translation:
>> "Möchten sie fortfahren? [J/n]". This suggest you have to press 'J' for
>> "Ja" (German word for "yes") in order to continue. If you do so,
>> module-assistant aborts. You have to press 'y', as in the untanslated
>> English version.
>
> This is most likely shown by APT. But it works in sid, and should have
> worked in lenny as well as far as I can tell. In the earlier days, the
> only allowed answer was "j/J" in a German locale (Bug#194614, fixed in
> 2005). This was changed in 2003, so it accepts y/Y/j/J.

I guess this is messed up l10n configuration - or support of it.
APT is using "nl_langinfo(YESEXPR)" to get a localized regex which will
be returned based on the LC_MESSAGES language.

The displayed string on the other hand can be influenced by LANGUAGE,
so you might end up with a display message for another language than the
regex string.

You can try this with (use your own local instead of de_DE.UTF-8 maybe):
LANGUAGE=C LC_MESSAGES=de_DE.UTF-8 apt-get install awesome --print-uris
You will see that all messages displayed are in english, but the prompt
happily accepts (in my case) a german "j" as input for yes.

That seems to be a "frequent" problem, see e.g. 345639, without a known
solution (you might see YESSTR mentioned – its gone in the mean time).


The only "real solution" I can think of is stopping to use yes-no-prompts
completely and instead do something like:

Do you want to continue (type anything to abort; no input means yes)? hell no!
Abort.

I am not really sure this is actually better (reminds me of the
 "press ANY-key to continue"-joke somehow) and if we would change it
it would be a very very painful transition…


Best regards

David Kalnischkies


Reply to: