Load resource with ResourceBundle.getBundle
import java.util.MissingResourceException; import java.util.ResourceBundle; public class HelloWorldResources { public static void main(String[] argv) { ResourceBundle resources; try { resources = ResourceBundle.getBundle("MyData"); System.out.println(resources.getString("Hi")); } catch (MissingResourceException mre) { System.err.println("MyData.properties not found"); } } } //MyData.properties Hi = Hello World! //MyData_fr.properties Hi = Salut tout le monde!