Moved getFormattedKey() to Locale, so it can be used independently of
CustomizeShortcuts