I have the same problem as you. It's quite frustrating because I'm already switching between french keyboard layout and Japanese for my work. Whenever I'm playing and exiting Guild Wars 2, I have to restart my computer so I don't get annoyed with another keyboard layout.My guild wars 2 game is in english so maybe that's why it's doing this.. I don't know ! Whatever, I hope there is a solution to this problem.