Hi Clytie
Can these choices be overwritten by a custom keybindings file?
No it's different.
- The accelerators are linked to the undercored chars, and facilitate
navigations in the menus/dialogs with the keyboard).
- Shortcuts are linked to the key combinations (such ast Ctrl+Alt
+M....), they don't appear in the translatable strings, but are automatically inserted in the interface at run time. They are not aimed at facilitating navigation in menus, but they directly call a function/verb.
So this file simply shows the keybindings indicated by the underscore- preceded character?
Yes vi.po or fr.po (or any po file) will only show accelerators (underscore-preceded characters in interface strings).
Just an example : with the string "Fill and Stroke".
In the interface, when you open the Object menu, it is displayed as : "_Fill and stroke... Shift+Ctrl+F".
"_", the underscore is the accelerator, and is displayed in the po file. "Shift+Ctrl+F" is the shortcut and is not displayed in the po file.
- The accelerator is used for the following navigation : from the interface, "Alt+O" will open the Object menu, then "F" will launch the fill&stroke dialog.
- The shortcut aims at a more direct navigation from the interface "Shift+Ctrl+F" will directly launch the fill&stroke dialog.
If so, it's an intriguing opportunity, because for my language, at least, positioning keyboard accelerators becomes extremely difficult, since most of the language is accented vowels, often with combined diacritics, and according to
http://bugzilla.gnome.org/show_bug.cgi?id=104112 gtk can't handle any non-ASCII keyboard shortcuts. I don't know if any other toolset handles them better.
Ah this sound annoying. Will take look and try to get more info/find workarounds...
Your e-mail is very important because it shows us that internationalization of Inkscape will maybe require some more infrastructure work. (see also the following bug : http://sourceforge.net/tracker/index.php?func=detail&aid=1508404&gro... )
It's maybe time to - list all our problems with internationalization - according to those issues, open a few RFEs/Bugs against GTK or Inkscape
Thanks for your remarks Regards,
matiphas