import java.text.MessageFormat;
import java.util.Locale;
import java.util.ResourceBundle;
+import java.util.ResourceBundle.Control;
import java.util.logging.Level;
import java.util.logging.Logger;
// Locale.setDefault(loc);
/* Getting messages for GV */
log.info("Getting messages for lang: " + loc);
- rb = ResourceBundle.getBundle("lang.Messages", loc);
+ Control control = Control.getControl(Control.FORMAT_PROPERTIES);
+ rb = ResourceBundle.getBundle("lang.Messages", loc, control);
if (log.isLoggable(Level.FINEST))
{
// this might take a while, so we only do it if it will be shown