I want to create an RUI project, the user interface should be localized to different languages (English, French and Arabic)
based on the language RUI should read from a .properties file and load the value in runtime
for example if the locale is English, RUI should go and get the English value "Submit" and assign to the submit button and if the locale is French RUI should get the value "soumettre" from the properties file
1- From RUI, how to Query the browser locale or machine locale to know the user's language settings
2- What are the steps to create the properties file? and how to read the values in RUI in runtime?
3- How should it be, a single properties file or a separate properties file for each language?
Thank you very much in advance :)