How To Use j18n
You are recommended to use JDK6 or higher. However,
JDK5 version is also available.
This JDK5 version is created by plagiarizing the standard
library source code, and is not forward compatible.
There are three steps to use j18n:
- Download j18n.jar
- Add it to your classpath
-
net.sf.j18n.J18n
is a sub-class of java.util.ResourceBundle,
by customizing the ResourceBundle.Control inner class.
Therefore, you need to replace the instantiation of
java.util.ResourceBundle
with
net.sf.j18n.J18n
For more details, here is a simple demo.