Java tutorial
import java.util.Locale; import java.util.ResourceBundle; import java.util.ResourceBundle.Control; public class Main { public static void main(String[] args) { ClassLoader cl = ClassLoader.getSystemClassLoader(); ResourceBundle.Control rbc = ResourceBundle.Control.getControl(Control.FORMAT_DEFAULT); ResourceBundle bundle = ResourceBundle.getBundle("hello", Locale.US, cl, rbc); System.out.println(bundle.getString("hello")); } }