powered by Jive Software

LocaleUtils.java_dots_ to_underscores_i18n _bundles

I am developing a plugin named like xxx.server.openfire.yyy, following the naming convention of a bigger project and using that as root package name for the plugin’s classes.

The resource bundle for internationalization was named like the plugin, but was not found since the file had dots in its name and the classloader would look for it in folders that are not there (and won’t get packaged if you make them).

The solution was to rename the file with underscores xxx_server_openfire_yyy_i18n.properties and apply this patch.

This should not break any other plugin in the source tree.

Thanks, please file in Jira.