code: public void addLocale(final LocaleId locale) {
          synchronized (this.locales) {
              if (this.locales == null) {
                  this.locales = new ArrayList<LocaleId>();
              }
              this.locales.add(locale);
          }
      }
docs: Add a locale to the list of managed locales.
  
  @param locale The new locale to added.