Load a Resource Bundle
import java.util.Enumeration; import java.util.Locale; import java.util.ResourceBundle; public class Main { public static void main(String[] args) { ResourceBundle resource = ResourceBundle.getBundle("Phrases", Locale.US); Enumeration<String> keys = resource.getKeys(); String key = null; while (keys.hasMoreElements()) { key = keys.nextElement(); System.out.println(key + " - " + resource.getObject(key)); } } }