vinod
Joined: 25 Apr 2006 Posts: 725
|
Posted: Sat May 06, 2006 4:03 am Post subject: Struts Internationalization (i18n) |
|
|
To understand the simple struts example in the section Struts Example
First thing we will require for Internationalization (i18n) is a set of simple Java properties files. Each file contains a key/value pair for each message that you expect your application to present, in the language appropriate for the requesting client.
This property file contains the key/value pairs for the default language of your application. The naming format for this file is ResourceBundleName.properties. An example of this default file, using English as the default language, would be ApplicationResources.properties A sample entry in this file would be app.name=Name, this tells Struts that for every occurrence of the app.name key the Name will be substituted.
TO See more information:
http://www.allapplabs.com/struts/struts_internationalization.htm |
|