public ResourceBundle getResourceBundle()
    {
	// Get locale and country information.
	if (Common.isEmptyString(language)) 
	    language = new String("en");

	if (Common.isEmptyString(country)) 
	    country = new String("UK");

	// The locale for this application
	Locale currentLocale;

	// The bundle containing supported languages
	final ResourceBundle messages;

	try { currentLocale = new Locale(language, country); } 
	catch(Exception e)
	{
	    language = new String("en");
	    country = new String("UK");
	    currentLocale = new Locale(language, country);
	}

	messages = ResourceBundle.getBundle("i18N.MessagesBundle", currentLocale);

	System.out.println(messages.getString("greetings"));
	System.out.println(messages.getString("inquiry"));
	System.out.println(messages.getString("farewell"));

	return messages;
    }