Searched refs:shortened_locale (Results 1 – 1 of 1) sorted by relevance
1062 std::string shortened_locale; in GetAvailableLocales() local1063 if (Intl::RemoveLocaleScriptTag(locale_str, &shortened_locale)) { in GetAvailableLocales()1064 std::replace(shortened_locale.begin(), shortened_locale.end(), '_', in GetAvailableLocales()1066 locales.insert(shortened_locale); in GetAvailableLocales()1116 std::string shortened_locale; in GetAvailableLocales() local1117 if (Intl::RemoveLocaleScriptTag(icu_name, &shortened_locale)) { in GetAvailableLocales()1118 std::replace(shortened_locale.begin(), shortened_locale.end(), '_', '-'); in GetAvailableLocales()1119 locales.insert(shortened_locale); in GetAvailableLocales()