Tuesday, July 21, 2009

Internationalizing Web Applications

There are two important ways of internationalizing Web Applications - Using Resource Bundles and Using locale specific JSP pages.

Using resource bundles

Internationalization can be achieved by using resource bundles in Web Applications like Java Server Pages with the Java Server Faces framework. In such applications, the resource bundles created are similar to those created in the desktop applications. To use these resource bundles, they are registered with the web application in the form of a JSF config file with the required XML content.

Using locale specific JSP pages

Another way to achieve internationalization is to use different sets of JSP pages for different languages. This method mainly maintains a mirror copy for each of the language and, the locale specific JSP set is sent to the client on demand. However this method would result in more number of JSP pages but would provide greater customizability.

1 comment:

Robert said...

Awesome Buddy!!! How do you think of such cool ideas man. You seem to be a genius. Do you always keep developing such wonderful applications? Never let your passion die! Hey would you please work in my company. We are in need of talented minds like yours. Anyways, when can we fix an appointment? Contact me on dsouza.robert58@gmail.com.