Use MiscUtil for parsing language tags.