Lines Matching refs:language
41 // MUI_LANGUAGE_NAME). Returns true if at least one language is placed in
87 bool GetUserDefaultUILanguage(std::wstring* language, std::wstring* region) {
88 DCHECK(language);
98 DPCHECK(0 != result_length) << "Failed getting language id";
100 language->assign(&result_buffer[0], result_length - 1);
115 NOTREACHED() << "Cannot determine language for a supplemental locale.";
123 std::wstring language;
128 language.assign(&*scan);
129 while (!language.empty()) {
130 languages->push_back(language);
131 scan += language.size() + 1;
132 language.assign(&*scan);
134 } else if (GetUserDefaultUILanguage(&language, ®ion)) {
138 languages->push_back(std::wstring(language)
141 languages->push_back(language);