troubleshooting Question

Multiple Language Support Dilemma

Avatar of rospcc
rospcc asked on
JSP
20 Comments1 Solution405 ViewsLast Modified:
I am trying to develop a new application which supports multiple languages by just a click of a button. Starting from scratch seems really easy and fun. After all, it is a new application and you get to decide how to go about doing it.

Now the problem arise because I have an existing application, and it is very huge in size (about 200 JSP forms and 100 JAVA files), which needs to implement this multiple languages feature as well.

Say I have a screen which shows a list of animal names in English and when the user clicks on Dutch, the list will be presented in Dutch accordingly.

Assuming I have a function called “getAnimalNames()” which previously does not require any parameter. In order to implement the multi language feature I need to know what language does the user wants it to appear as. Probably I should change it to “getAnimalNames(LanguageType)”.

What would be the easiest way to implement this without having to run through 200 pages of JSPs and 100 JAVA one by one just to introduce an extra parameter to each and every of the functions/methods?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 20 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 20 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros