In some projects, I use the classical ResourceBundle
mechanism to grab locale-dependent messages (exception messages, informational messages, whatever).
But I have a few problems with it:
ResourceBundle
can return an Object
;.setParent()
does not make the parent searched first, but the child).I know code can be written to overcome the two latter points; however, if there is a library out there for handling messages in a more simple way, it would be even better! Do you know of one?
You could use GetText (link), take a look!
c10n is an interesting project too (link).
Well, answer to self...
I have continued to google around, tried and dug into Eclipse NLS and c10n as suggested, but the "simple" criterion I was looking for was not really there.
I have therefore started my own: msg-simple.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With