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