http://www.roseindia.net
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Please visit our lastest forum and start dicussing the topics
Struts Internationalization (i18n)

 
Post new topic   Reply to topic    http://www.roseindia.net Forum Index -> Struts
View previous topic :: View next topic  
Author Message
vinod



Joined: 25 Apr 2006
Posts: 725

PostPosted: Sat May 06, 2006 4:03 am    Post subject: Struts Internationalization (i18n) Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    http://www.roseindia.net Forum Index -> Struts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group