rgarcia00
asked on
multi language website
Excuse my English;
I'm developing a multi-language website with JSP;
I don't want to replicate the site for each language.
Can anybody tell me how can I do it?
I've hear about literal codes in JSP pages and a database that stores the literal codes and the translation for each language. Is it a good idea?
Please help.
Thanks
Raul
I'm developing a multi-language website with JSP;
I don't want to replicate the site for each language.
Can anybody tell me how can I do it?
I've hear about literal codes in JSP pages and a database that stores the literal codes and the translation for each language. Is it a good idea?
Please help.
Thanks
Raul
Depending on how far you want to go with things...
I'd heavily recommend looking at Struts.
http://jakarta.apache.org/struts/
http://www.anassina.com/struts/i18n/i18n.html
I'm currently using Struts for i18n (internationalization), its great framework and best practices (MVC) enforcement.
Andrew
I'd heavily recommend looking at Struts.
http://jakarta.apache.org/struts/
http://www.anassina.com/struts/i18n/i18n.html
I'm currently using Struts for i18n (internationalization), its great framework and best practices (MVC) enforcement.
Andrew
Resource Bundle is the best way to start with.
Place all the bundle properties files in lib\locale folder For each page for each languauge u can unvoke that bundle , thats very fast also..
regds,
Jim
Place all the bundle properties files in lib\locale folder For each page for each languauge u can unvoke that bundle , thats very fast also..
regds,
Jim
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
"To be PAQed/Points refunded"
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Kuldeepchaturvedi
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
"To be PAQed/Points refunded"
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Kuldeepchaturvedi
EE Cleanup Volunteer
I disagree with this one. I believe ph0rman and I have given enough resources to help the user out.
CJ
CJ
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do you just want to use JSPs?
Some info to get you started:
http://www.javaworld.com/javaworld/jw-03-2000/jw-03-ssj-jsp.html
http://java.sun.com/docs/books/tutorial/i18n/
http://www.webdevelopersjournal.com/articles/internationalizing_servlets.html
http://www.adventnet.com/products/configuration/help/developer_guide/client_framework/i18n/jcats_i18n_server_client.html
HTH,
CJ
ResourceBundle is the typical approach.