if (localesStr.indexOf(language + DELIMITER) != -1)
return new Locale(language);
//3. Handle fallback for Norwegian
if (language.matches("n[nb]")) {
if (localesStr.indexOf(tag.toLangtag("no") + DELIMITER) != -1) {
return new Locale("no", tag.getRegion());
}
if (localesStr.indexOf("no" + DELIMITER) != -1) {
return new Locale("no");
}