Lines Matching defs:language

74 		HDTRACE("did add the supported language [%s]" , value->ID());
78 HDTRACE("did replace the supported language [%s]", value->ID());
86 // it could be that the preferred language does not exist in the
93 LanguageModel::_SetPreferredLanguage(const Language& language)
95 fPreferredLanguage = LanguageRef(new Language(language));
96 HDDEBUG("set preferred language [%s]", fPreferredLanguage->ID());
100 /*! This will derive the default language. If there are no other
101 possible languages configured then the default language will be
103 then this method will ensure that the default language is in that
111 HDDEBUG("derived system default language [%s]", defaultLanguage.ID());
114 // application starts, the default language from the system is used anyway.
115 // The data queried in HDS will handle the case where the language is not
120 HDTRACE("no supported languages --> will use default language");
124 // if there are supported languages defined then the preferred language
133 HDERROR("unable to find the language [%s] so will look for app default [%s]",
141 HDERROR("unable to find the app default language [%s] in the supported language so"
142 " will use the first supported language [%s]", LANGUAGE_DEFAULT.ID(),
147 HDTRACE("did find supported language [%s] as best match to [%s] from %" B_PRIu32
157 preferred language based on their system preferences. If it cannot find
158 any such language then it will return the absolute default (English).
171 BString language;
173 "language", 0, &language) == B_OK) {
174 return Language(language, language, true);
184 supported language that best matches the codes. If there is really no
229 /*! This will find the first supported language that matches the arguments