getCurrentLocale method

String getCurrentLocale ()

Accessor for the current locale. This should always == the default locale, unless for some reason this gets called inside a message that resets the locale.

Implementation

static String getCurrentLocale() {
  if (defaultLocale == null) defaultLocale = systemLocale;
  return defaultLocale;
}