This example shows how to retrieve the localization property message keys from Stages.
properties_en = new Properties(); properties_de = new Properties(); stream_en = new FileInputStream("tomcat/webapps/pkit/WEB-INF/classes/ LocalPKit.properties"); stream_de = new FileInputStream("tomcat/webapps/pkit/WEB-INF/classes/ LocalPKit_de.properties"); properties_en.load(stream_en); properties_de.load(stream_de); stream_de.close(); stream_en.close(); /* Retrieve message key abc */ var myname = properties_en.getProperty("abc") var myname = properties_de.getProperty("abc")