Hi,
Put all labels and strings which appear on the site into properties
file. (e.g., resbundle.properties, resbundle_Ja_JP.properties).
Create as many properties files as the languages to be supported
(each file with labels in respective language).
In server side script (e.g., servlet) based on language preference,
load different properties files (resbundle.properties or
resbundle_Ja_JP.properties).
If(preference=="En")
private static ResourceBundle rb =
ResourceBundle.getBundle("resbundle.properties ");
If(preference=="JP")
private static ResourceBundle rb =
ResourceBundle.getBundle("resbundle_Ja_JP.properties ");
For getting labels, use the following,
String imagePath=rb.getString("IMAGE_PATH");
String
topPageHTMLPath=rb.getString("topPageHTMLPath");
String fileLocation = rb.getString("fileLocation");
PS : Subha :
Ihave a word document which contains what needs to be done for
internationalisation. If you want, I will send it to ur personal id as I
cannot attach for this id. I have worked on a project on
internationalization.
Regards
Praveen Tapashetti
Mascot Systems Ltd
Chennai, India
Tel: 91-44-2301236 Extn: 3321
-----Original Message-----
From: subha ghosh [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 4:44 PM
To: [EMAIL PROTECTED]
Subject: web site internationalization
Hi all,
I want to convert a website complete website into a
different language
depending upon which language user chooses.
How do I do this.
I am using servlet ,tomcat, jdk1.1.8
Thanks
subha
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body
of the message "signoff SERVLET-INTEREST".
Archives:
http://archives.java.sun.com/archives/servlet-interest.html
Resources:
http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html