code: public Locale[] getAvailableLocales() {
          // TODO make this wrap getAvailableULocales later
          Set<String> visIDs = getVisibleIDs();
          Locale[] locales = new Locale[visIDs.size()];
          int n = 0;
          for (String id : visIDs) {
              Locale loc = LocaleUtility.getLocaleFromName(id);
              locales[n++] = loc;
          }
          return locales;
      }
docs: Convenience method for callers using locales.  This returns the standard
  Locale list, built from the Set of visible ids.