Lines Matching refs:locale
55 for (Locale locale : locales) {
57 String className = getResourceName(base, locale);
92 static String getResourceName(String base, Locale locale) {
93 if (locale.equals(ROOT)) {
97 sb.append('_').append(locale.getLanguage());
98 if (locale.getCountry().length() > 0
99 || locale.getVariant().length() > 0) {
100 sb.append('_').append(locale.getCountry());
102 if (locale.getVariant().length() > 0) {
103 sb.append('_').append(locale.getVariant());