Closed Bug 291073 Opened 20 years ago Closed 5 years ago

Don't allow localization of command keys

Categories

(Core :: Internationalization: Localization, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: aaronlev, Unassigned)

Details

(Keywords: access)

This is a spin off from bug 279245 and a newsgroup discussion thread.

Ctrl/cmd global command keys should never change based on
the localization. The consensus in the newsgroup discussion was we should take
these out of the localization files to prevent future accidental localization of
those keys, as what caused bug 279245.

Here's the newsgroup thread:
http://groups-beta.google.com/group/netscape.public.mozilla.l10n/browse_thread/thread/df3affe36bd789aa/6e9299729a4dd42d?q=279245+mozilla&_done=%2Fgroups%3Fq%3D279245+mozilla%26qt_s%3DSearch+Groups%26&_doneTitle=Back+to+Search&&d#6e9299729a4dd42d
There are certain cases when "accel+letter" is necessary to localize. On mac
Firefox uses Cmd+[ and Cmd+] for back and forward. However, on a Swedish (and
probably Danish/Norwegian etc) keyboard you have to press Alt+8 in order to
produce a "[".
(In reply to comment #1)
> There are certain cases when "accel+letter" is necessary to localize. On mac
> Firefox uses Cmd+[ and Cmd+] for back and forward. However, on a Swedish (and
> probably Danish/Norwegian etc) keyboard you have to press Alt+8 in order to
> produce a "[".

Can you localize that with our current infrastructure?

Anyways, IMHO, we should ideally go into a direction that allows customization
of command keys, so that we fit in with other software that supports that.
(In reply to comment #3)
> Can you localize that with our current infrastructure?

Yes, we have both goBackCmd.commandKey and goForwardCmd.commandKey that we can
localize.
(In reply to comment #4)
> Yes, we have both goBackCmd.commandKey and goForwardCmd.commandKey that we can
> localize.

I know, but can you set it to Alt+8 so that it triggers Cmd+[ (Cmd+Alt+8) then?
I don't think so, but who would want such an awkward combination. And we can't
use keycodes such as VK_LEFT. We could use the letters "Ö" and "Ä" though.

 
 
> I know, but can you set it to Alt+8 so that it triggers Cmd+[ (Cmd+Alt+8) then?

Since [ and ] isn't even displayed on my keyboard (apple standard one) we better
use our "own". Even Safari uses locale-specific keys instead of [ and ]
(In reply to comment #7)

> Since [ and ] isn't even displayed on my keyboard (apple standard one) we better
> use our "own". Even Safari uses locale-specific keys instead of [ and ]

Same is true for German Mac keyboards btw. 
And no, biesi, there is no "AltGr" on Mac.
for the most part you shouldn't need altgr on macs, we have option which is used
for extra characters.
Assignee: kairo → nobody
QA Contact: mmx_bugzilla → localization
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.