I am looking for a solution in GWT to bundle properties file, like i do in java.util.ResourceBundle
ResourceBundle messageBundle = ResourceBundle.getBundle(baseName.properties , new Locale(language));
Set<String> messagesKey = messageBundle.keySet();
Map<String, String> messagesMap = new HashMap<String, String> (messagesKey.size());
for (String key : messagesKey) {
messagesMap.put(key, messageBundle.getString(key));
}
The closest thing to it is ContstantsWithLookup (but you can’t get list of keys from it) or Dictionary (but it doesn’t work with *.properties files, only with js objects)