Searched refs:normalizedTag (Results 1 – 1 of 1) sorted by relevance
540 String normalizedTag = language.replace('_', '-'); in normalizeLanguageCode() local541 if (normalizedTag.isEmpty() || "und".equals(normalizedTag)) { in normalizeLanguageCode()543 normalizedTag = language; in normalizeLanguageCode()545 normalizedTag = Util.toLowerInvariant(normalizedTag); in normalizeLanguageCode()546 String mainLanguage = Util.splitAtFirst(normalizedTag, "-")[0]; in normalizeLanguageCode()552 normalizedTag = in normalizeLanguageCode()553 replacedLanguage + normalizedTag.substring(/* beginIndex= */ mainLanguage.length()); in normalizeLanguageCode()557 normalizedTag = maybeReplaceGrandfatheredLanguageTags(normalizedTag); in normalizeLanguageCode()559 return normalizedTag; in normalizeLanguageCode()