Home | History | Annotate | Download | only in configuration

Lines Matching defs:locale

29 import java.util.Locale;
34 * to {@link LocaleManager}. It also contains some locale related display
111 // Prefer the local registration of the current locale; even if
112 // for example the default locale for English is the US, if the current
113 // default locale is English, then use its associated country, which could
115 Locale locale = Locale.getDefault();
116 if (language.equals(locale.getLanguage())) {
117 Image flag = getFlag(locale.getCountry());
142 public Image getFlag(@Nullable LocaleQualifier locale) {
143 if (locale == null) {
146 String languageCode = locale.getLanguage();
147 String regionCode = locale.getRegion();
202 // TODO: Special case locale currently running on system such
203 // that the current country matches the current locale
208 String flagFileName = base.toLowerCase(Locale.US) + ".png"; //$NON-NLS-1$