I've used the I18n feature to generate the properties files for my Test app. I have configured 2 locales : default and fr_CA.
Now I would like to change the language during runtime, from a menu entry or a function key.
How would you do that?
Do I have to reload the BUNDLE with code like this :
- Code: Select all
BUNDLE = ResourceBundle.getBundle("test.app.messages", Locale.CANADA_FRENCH);
I'm new to this, sorry if it's a noob's question