Menu

#1062 Make all menu entries translatable

open
nobody
None
1
2016-05-30
2016-05-15
No

Currently, some of the entries of the LaTeX menu can't be translated:

  • \documentclass,
  • \usepackage{}
  • \author{},
  • \title{},
  • \maketitle,
  • \tableofcontents

IMHO, they should (hence, we could add acclerators).

Maybe other menus are concerned as well.

Related

Bugs: #1767

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2016-05-29

    Menu entries that are pure LaTeX commands are not translated as there is not much point in doing so. The command is independent of the language. I guess that still holds for accelerators. If they are required, the should be added to the original command not only in a translation.

     
  • Denis Bitouzé

    Denis Bitouzé - 2016-05-29

    Menu entries that are pure LaTeX commands are not translated as there is not much point in doing so. The command is independent of the language.

    In other menus, there are entries which are pure LaTeX commands and nevertheless translated, e.g. \begin{itemize} in LaTeX → List Environments and that great: hence translators can add text hints if they consider it can be helpful.

    I guess that still holds for accelerators. If they are required, the should be added to the original command not only in a translation.

    I'm not sure to understand what you mean but, anyway, it could be nice for these commands to have acceleratiors. But, they should be possibly language dependant, because the other accelerators in the same menu may be chosen differently, depending on the language.

     
  • Tim Hoffmann

    Tim Hoffmann - 2016-05-29

    In other menus, there are entries which are pure LaTeX commands and nevertheless translated

    To be more precise, entries like \\cmd and \\cmd{} (empty braces) are not translated.

    I'm not sure to understand what you mean but, anyway, it could be nice for these commands to have acceleratiors. But, they should be possibly language dependant, because the other accelerators in the same menu may be chosen differently, depending on the language.

    I'm not quite sure if this is reasonable and worth the effort. Technically, duplicate accelerators are allowed, so no fundamental problem there. It may also be better to leave \\begin{&itemize} and not trying to move the accelerator key around (e.g. to &t or &e) because &i is taken by another command. Having logical accelerators is better than trying to keep everything duplicate-free. The other menu entries may change in the future anyway.

    Coming back to the original request.
    Jan, Benito, what do you think: Is it reasonable to make all commands translatable?

     
  • Denis Bitouzé

    Denis Bitouzé - 2016-05-30

    Having logical accelerators is better than trying to keep everything duplicate-free.

    Hmmm... I massively make use of accelerators and if I can easily have in fingers even those which are not logical, duplicate ones are a pain IMHO :)

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB