Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Internationalization - Multiple resource bundle files, or one large one

 
Victor Ewert
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic