"Eli Zaretskii" <[EMAIL PROTECTED]> writes:

>> Cc: [EMAIL PROTECTED], emacs-devel@gnu.org
>> From: Juri Linkov <[EMAIL PROTECTED]>
>> Date: Fri, 08 Apr 2005 21:32:19 +0300
>> 
>> I was mislead by the "Emacs Tutorial (choose language)..." menu item.
>> I thought that "Emacs Tutorial" always selects the English tutorial while
>> "Emacs Tutorial (choose language)..." selects a tutorial in any language.
>> 
>> The fact that English menu item "Emacs Tutorial" can select a non-English
>> tutorial is misleading too.  Ideally the menu item "Emacs Tutorial"
>> should be translated into the same language whose tutorial it selects.
>> This requires support for multi-language menus.
>
> Until multi-language menus are supported, perhaps we should change the
> menu item to say
>
>      Emacs Tutorial (in YOUR-LANGUAGE)
>
> where YOUR-LANGUAGE stands for the language name.  This should be done
> only for those languages that indeed have a translated tutorial.  The
> tooltip should also hint about that.

I think we should do that only for those languages that can't be shown
in the menu.  Since this depends on a complex interaction of platform,
fonts and locales, I think the programmer wanting to put something
into a menu can't be reasonably expected to make a guess.

So I think that we should add something like
(defun menu-string-supported-p STRING &optional DISPLAY)
that will tell a programmer whether a given platform is supposed to
be able to display a given string.

It is really something that Emacs needs to tell the programmer.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to