Java format (ResourceBlender)
Java projects use the bundle name together with the language code to generate the name of the .properties file. For example: A bundle called resources in an application which uses the languages English and German would generate two files - resources_en.properties and resources_de.properties.
The element name is used in calls to the getString method of ResourceBundle. For example: To access an element called MainMenuText in a bundle called myresources, first initialize a new ResourceBundle using
ResourceBundle res = new ResourceBundle.getBundle("myresources", new Locale(country, locale));
String menuText = res.getString("MainMenuText");