return localeUtils;
} catch (BadPropertyValueException e) {
// if we don't have locale properties defined, just return a basic one
logger.log(TreeLogger.WARN,
"Unable to get locale properties, using defaults", e);
GwtLocale defaultLocale = factory.fromString("default");
Set<GwtLocale> allLocales = new HashSet<GwtLocale>();
allLocales.add(defaultLocale);
return new LocaleUtils(defaultLocale, allLocales, allLocales,
Collections.<GwtLocale>emptySet(), null, null);
}