String basePathId = path.getBasePathId();
Map<String, String> propsOfPath = getPropertiesOfPath(path,
basePaths.get(basePathId));
List<Bundle> bundles = new ArrayList<Bundle>(locales.length);
for (Locale locale : locales) {
bundles.add(BundleFactory.getBundle(new BundleProps(
new FileAccessorProperties(propsOfPath, path.getType(),
locale)), lf.getType().value(), fac));
}
Enumeration<String> keys = bundles.get(0).getKeys();
while (keys.hasMoreElements()) {