bug-1280: Parse the language code from the locale.