This content has been marked as final. Show 3 replies
It sort of looks to me like you might be able to create your own locales by using these classes:
Modifying the behaviour of existing locales is probably out of the question, although I might be wrong about that too.
Edit: here's a tutorial about those classes: [http://java.sun.com/docs/books/tutorial/i18n/locale/services.html]
Which version of JDK are you using? If you are using prior versions than JDK6, you might want to upgrade it as Indonesian locale is supported since JDK6. I briefly tested it (I explicitly specified Locale("in", "ID") to getCurrencyInstance()) and it displayed "Rp0.00". Fraction digits are displayed because it is based on Unicode's CLDR data which specifies that.
Thanks for the replies. I should have specified that I am running java 1.4.2 and there is no option to upgrade to java6 in the short-term.