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:

  1. Download j18n.jar
  2. Add it to your classpath
  3. 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.