My Java app has been localised into several locales. For each locale there is a properties file with the translations. I load it as follows:
ResourceBundle bundle = ResourceBundle.getBundle("MessagesBundle", Locale.getDefault());
I'd like to determine at runtime all available resource bundles. The bundles are in my application's jar file.
How can I do this?