How to set locale?

Asked by Daniel Tkatch

Locale starts as default with the following locale

$ ./sikuli-ide.sh
[sikuli] locale: en_US

However, I am per default using German (keyboard layout etc.) on my Ubuntu machine and so when typing type("@") I actually get a " (double quote mark) and other mistakes like that. I assume that it's the wrong locale I should blame here.

How can I tell Sikuli-IDE to use de_DE locale or for that matter any other than en_US?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

type() independently from locale uses keyboard layout en-US. That's a known implementation bug.
If you like puzzling, you can find out by comparing the two layouts and use the corresponding character key from your keyboard.

use paste() instead for normal characters (affects clipboard!).

there are many bugs and question about that "no-feature" ;-)

Can you help with this problem?

Provide an answer of your own, or ask Daniel Tkatch for more information if necessary.

To post a message you must log in.