#7898 closed defect (duplicate)
Keyboard Shortcuts in tooltips are always shown in default language
Reported by: | Frog23 | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | tooltip shortcut language | Cc: |
Description
The keyboard shortcuts that are displayed in the tooltips of UI elements, such as buttons, are always in the language of the OS and not in the language which is specified via Preferences -> Look and Feel -> Language. Since usually the language set there is the system language, this is probably hardly ever noticed and even if, it can be assumed that the user knowns what keyboard shortcuts are meant, since the system itself is in that language.
However I just wanted to create an English tutorial with screenshots and there it is confusing if the shortcuts are in German (as can be seen in the attached image: the German keys for Ctrl + Shift + Down).
Attachments (1)
Change History (5)
by , 13 years ago
Attachment: | JOSM_keyboard_shortcuts_in_tooltip_in_wrong_language.png added |
---|
comment:1 by , 13 years ago
This probably is the case for all texts which are handled by Java and not JOSM itself.
comment:2 by , 13 years ago
I get consistent translation when setting the LANG environment variable, e.g.
$ LANG="de_DE.utf8" java -jar josm-custom.jar
or
$ LANG="en_US.utf8" java -jar josm-custom.jar
But I think this only works for the languages that are supported by Java (excluding Russian and Chinese among others).
Edit: Chinese seems to be supported:
java6/sun/awt/resources$ ls awt_de.java awt_fr.java awt_ja.java awt_ko.java awt_zh_CN.java awt_zh_TW.java awt_es.java awt_it.java awt.java awt_sv.java awt_zh_HK.java
comment:4 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closed as duplicate of #6345.
German keyboard shortcuts in English tooltip.