code: public static Set<String> getSupportedLocales() throws IOException {
  		Set<String> locales = getAvailableFiles("locales-", "en-US", "xml");
  		try {
  			List<String> baseLocales = getRunner().callMethod(
  					"getBaseLocales", List.class);
  			locales.addAll(baseLocales);
  		} catch (ScriptRunnerException e) {
  			//ignore. don't add base locales
  		}
  		return locales;
  	}
docs: Calculates a list of available citation locales
  @return the list
  @throws IOException if the citation locales could not be loaded