Lines Matching refs:Locale
27 * Modified to load locale index out of new file distinct
64 * will be treated as distinct, even if they are for the same locale.
92 * supported. For this reason, LOCALE names override FILE names. If
104 * is to place all locale resources into default.txt, which should
114 * requested locale. Then it is done for the default locale, as
115 * returned by Locale::getDefault(). Then the special file
116 * default.txt is searched for the default locale. The overall FILE
119 * Note that although file name searching includes the default locale,
121 * no longer includes the default locale. The path is LCV -> LC -> L
126 * only that locale is parsed (along with anything else in the same
148 * practice a bad idea, since you only want the one locale you're
151 * multiple locales.) Up to 4 locale resources will be loaded from a
154 * loaded into the cache, and then looked up as needed, the locale
176 fResource = ures_open(0, Locale::getDefault().getName(), &err);
203 ResourceBundle::ResourceBundle(const char* path, const Locale& locale, UErrorCode& err)
206 fResource = ures_open(path, locale.getName(), &err);
370 const Locale &ResourceBundle::getLocale(void) const
377 Locale *tLocale = new Locale(localeName);
380 return Locale::getDefault(); // Return default locale if one could not be created.
394 const Locale ResourceBundle::getLocale(ULocDataLocaleType type, UErrorCode &status) const