1 Reply Latest reply: Oct 27, 2010 9:02 AM by 808685 RSS

    Multiple property files, or one large one

    843810
      I am just starting internationalization on a Java application, and am externalizing my Strings into property files. My question is: what is better, to store all the Strings in one large property file (making it easier to edit, and reduce duplicates) 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?
        • 1. Re: Multiple property files, or one large one
          808685
          The java internalization tutorial tells you some of the advantages of using several resource bundles instead of one:
          [http://download.oracle.com/javase/tutorial/i18n/resbundle/prepare.html]
          You also can find this article helpful:
          [http://www.onyxbits.de/content/methods-handling-i18n-java]