/** * Registers the bundle with the translation service. */ public void registerPropertiesBundle(final String data, final String locale) { final Map<String, String> translation = Properties.load(data); for (final Entry<String, String> entry : translation.entrySet()) { registerTranslation(entry.getKey(), entry.getValue(), locale); } }
/** * Registers the bundle with the translation service. */ public void registerPropertiesBundle(final String data, final String locale) { final Map<String, String> translation = Properties.load(data); for (final Entry<String, String> entry : translation.entrySet()) { registerTranslation(entry.getKey(), entry.getValue(), locale); } }
/** * Registers the bundle with the translation service. */ public void registerPropertiesBundle(final String data, final String locale) { final Map<String, String> translation = Properties.load(data); for (final Entry<String, String> entry : translation.entrySet()) { registerTranslation(entry.getKey(), entry.getValue(), locale); } }