Add support for locales and keymaps

Signed-off-by: Daniel Francis <francis@sugarlabs.org>