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

Re: [libreoffice-l10n] translation of keyboard key names


Hi,

On Sunday, 2019-08-18 21:11:33 +0200, Gabor Kelemen wrote:

> Of course: no Pootle for these. This in itself might worth a separate
> bug report as well.

It's not so straight forward.

> And to make things funnier: there is a similar file for Windows too:
> https://cgit.freedesktop.org/libreoffice/core/tree/vcl/win/window/keynames.cxx

Because Windows uses different key codes than X, and may use different
names for certain keys. Also, historically Unix keyboards differ from
Windows keyboards. Additionally there's OSX of course..

> You probably want to keep in sync these for a platform independent user
> experience.

Au contraire. If possible you want to display the names or symbols the
user sees on the keyboard, which of course depends on the hardware, not
the installed UI language. We just assume that if the user uses
a certain UI translation s/he's familiar enough with the language to see
some key names in that language.

Also note that only a few keys are translated, and the amount differs
between languages. If a key does not explicitly have a name assigned,
the system is asked for the key name. So usually only the key names are
listed that for some reason need to be overridden with a specific
assignment in a given UI translation.

Eike

--
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A

--
To unsubscribe e-mail to: l10n+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
Privacy Policy: https://www.documentfoundation.org/privacy

References:
[libreoffice-l10n] translation of keyboard key namesJean-Baptiste Faure <jbfaure@libreoffice.org>
Re: [libreoffice-l10n] translation of keyboard key namesGabor Kelemen <kelemeng@ubuntu.com>
Re: [libreoffice-l10n] translation of keyboard key namesJean-Baptiste Faure <jbfaure@libreoffice.org>
Re: [libreoffice-l10n] translation of keyboard key namesGabor Kelemen <kelemeng@ubuntu.com>
Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.