basic query (in internationalization)

I am new to internationalization

I dont know how to run this file. i compiled this.

I have a basic code taken from sun site.

import java.util.*;

public class I18NSample {

static public void main(String[] args) {

String language;

String country;

if (args.length != 2) {

language = new String("en");

country = new String("US");

} else {

language = new String(args[0]);

country = new String(args[1]);

}

Locale currentLocale;

ResourceBundle messages;

currentLocale = new Locale(language, country);

messages =

ResourceBundle.getBundle("MessagesBundle",currentLocale);

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

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

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

}

}

property files are

greetings = Hello.

farewell = Goodbye.

inquiry = How are you?

greetings = Hallo.

farewell = Tsch.

inquiry = Wie geht's?

greetings = Hello.

farewell = Goodbye.

inquiry = How are you?

greetings = Bonjour.

farewell = Au revoir.

inquiry = Comment allez-vous?

where to place these file

i dont know how to use these files.

will anyone help me

i am new to this

[1354 byte] By [Thahira] at [2007-10-2 16:50:49]
# 1
You missed the next part, [url= http://java.sun.com/docs/books/tutorial/i18n/intro/run.html]Running the Sample Program[/url].
nguyenq87a at 2007-7-13 18:02:28 > top of Java-index,Desktop,I18N...