Update: As of Atom v1.12, a fix is available for this. See the blog post “The Wonderful World of Keyboards” for more information.
For versions of Atom prior to v1.12, please read on …
You’re most likely running into this issue:
Some people have reported having good results with the keyboard-localization package. See the comments in the Issue above for more information.