Use hyphen instead of underscore in getLocaleName().