File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Internationalization - Multiple resource bundle files, or one large one Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Internationalization - Multiple resource bundle files, or one large one" Watch "Internationalization - Multiple resource bundle files, or one large one" New topic
Author

Internationalization - Multiple resource bundle files, or one large one

Victor Ewert
Greenhorn

Joined: May 28, 2009
Posts: 17
I am just starting internationalization on a Java application, and am externalizing my Strings into property (resource bundle) files. My question is: what is better, to store all the Strings in one large property file (making it easier to edit, and maintain) or to have a property file for each GUI Widow/Dialog etc. My concern with one large file is that there may be a performance hit. Any advice?
Mukesh Ranjan
Greenhorn

Joined: Jun 24, 2009
Posts: 22
It is always better to have modular approach even for properties files, having a single file will create issue in future when your application grows, and also performanace and feasability issue.
So i will suggest to have multiple bundle based on module,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Internationalization - Multiple resource bundle files, or one large one
 
Similar Threads
Internationalization in Struts
Is resource bundle file used often?
weblogic 8.1 Missing Resource Exception
Properties Vs ResourceBundle
How to use PropertyResourceBundle