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.
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?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.