Why not use ResourceBundle for i18n?

Developers
2005-02-04
2012-08-29
  • Isaac Arias

    Isaac Arias - 2005-02-04

    Hi,

    I was casually browsing the source code for RSSOwl and I'm just curious: Why didn't you use the ResourceBundle and related classes for i18n and instead built one yourself?

    I couldn't see any obvious advantage from your implementation and it just seems like additional code to maintain unnecessarily.

    Let me know if you're interested in the standard Java ResourceBundle approach. I've had a lot of experience in that regard.

    Ike

     
    • Anonymous - 2005-02-04

      Hi Ike,

      you are absolutely right, there is no advantage. The I18N classes was one of the first things I implemented more than 18 months ago, and I did not had any knowledge (or even heard of) ResourceBundles.

      It came that I never changed it, since it was working.

      If you are interested in porting the I18N classes into resource bundles, please let me know. I am currently working on RSSOwl 1.1 and would integrate it then.

      For the implementation, the language files should all be UTF-8 encoded and placed inside a JAR archive in the lib directory (like lang.jar e.g.).

      What do you think?

      Regards,
      Ben

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks