If you use XBMC for watching media content from your PC on your TV, you may have noticed that there is no hotkey for switching audio languages. This is particularly annoying if you’re trying to watch anime, as it will typically default to the English audio track instead of the Japanese (which usually has better voice acting.) It’s also a problem if your native language isn’t English.
Here’s how to fix it. Create a new Keyboard.xml file. It should be located at C:\Users\[yourusername]\AppData\Roaming\XBMC\userdata\keymaps\Keyboard.xml (on Windows) or at /Users/[yourusername]/Library/Application Support/XBMC/userdata/keymaps/Keyboard.xml (on MacOSX).
Add the following lines:
<keymap> <global> <keyboard> <k>audionextlanguage</k> </keyboard> </global> </keymap>
(If you already have a Keyboard.xml file, you’ll probably just need to add the <k>audionextlanguage</k> line to the <keyboard> section.)
This will map the ‘K’ key (not used for anything by default) to ‘Switch audio languages.’ I picked ‘K’ since it’s next to ‘L’, which is the default hotkey to enable subtitles. (No, I don’t speak Japanese.)
Additional information about XBMC keymaps is available here: http://wiki.xbmc.org/index.php?title=Keymap.xml