Modify

Opened 13 years ago

Closed 13 years ago

Last modified 5 years ago

#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)

JOSM_keyboard_shortcuts_in_tooltip_in_wrong_language.png (67.4 KB ) - added by Frog23 13 years ago.
German keyboard shortcuts in English tooltip.

Download all attachments as: .zip

Change History (5)

by Frog23, 13 years ago

German keyboard shortcuts in English tooltip.

comment:1 by stoecker, 13 years ago

This probably is the case for all texts which are handled by Java and not JOSM itself.

comment:2 by bastiK, 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
Last edited 13 years ago by bastiK (previous) (diff)

comment:3 by skyper, 13 years ago

duplicate of #6345

comment:4 by stoecker, 13 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #6345.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.