Last updated 5 years ago
Was this helpful?
The ResourceBundle class takes care of translations:
ResourceBundle messages; messages = ResourceBundle.getBundle("MessagesBundle"); messages.getString("greetings");
Remember that not only texts, but other things such as currencies or times, can require internationalization.