Searched refs:current_locale (Results 1 – 5 of 5) sorted by relevance
21 char *current_locale = setlocale (LC_CTYPE, NULL); in main() local47 if (strcmp (locale, current_locale) != 0) in main()50 current_locale = setlocale (LC_CTYPE, NULL); in main()52 if (strncmp (current_locale, locale, 2) != 0) in main()
186 std::string current_locale = l10n_util::NormalizeLocale(*GetProcessLocale()); in CurrentLocaleOrDefault() local187 if (current_locale.empty()) in CurrentLocaleOrDefault()188 current_locale = "en"; in CurrentLocaleOrDefault()190 return current_locale; in CurrentLocaleOrDefault()
230 const std::string current_locale = in ShowLoginWizard() local232 VLOG(1) << "Current locale: " << current_locale; in ShowLoginWizard()233 if (current_locale.empty()) { in ShowLoginWizard()
339 const std::string current_locale = in OnProfilePrepared() local342 base::StringPrintf(kGetStartedURLPattern, current_locale.c_str()); in OnProfilePrepared()
174 const std::string& current_locale = local_state->GetString(prefs.c_str()); in GetSelectedLanguageIndex() local176 return GetIndexFromLocale(current_locale); in GetSelectedLanguageIndex()