Link to home
Start Free TrialLog in
Avatar of rgarcia00
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
Avatar of cheekycj
cheekycj
Flag of United States of America image

Avatar of ph0rman
ph0rman

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
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
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 disagree with this one.  I believe ph0rman and I have given enough resources to help the user out.

CJ
ASKER CERTIFIED SOLUTION
Avatar of YensidMod
YensidMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial