Posted By:
dilwale_dulhan
Posted On:
Monday, April 30, 2001 03:13 PM
If in a simple mildet i am writing a string "Play".
Now if i want to I18Nized it, how can i do it? where comes the encoding/decoing for doing that? Can i have .properties files for different langauges? if yes, how can i make use of them?
Here is my way of doing if i was trying to do it for J2SE:
import java.util.*;
.
.
.
Locale currentLocale = new Locale("fr", "FR");
ResourceBundle messages = ResourceBundle.getBundle ("MessagesBundle",currentLocale);
private String title = new String(messages.getString ("Play"));