props.load(stream);
String locale = props.getProperty("locale");
logger.trace("locale: " + locale);
if(locale == null)
throw new InvalidLocaleSpecException("'locale' specification missing");
if(locale.trim().length() == 0)
throw new InvalidLocaleSpecException("'locale' specification is empty");
logger.debug("remove locale entry");
props.remove("locale");
String version = props.getProperty("version");