Wednesday, September 21, 2011

Adding Indonesian Locale to Java web-app

Due to this bug
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6457127

you must have resources_in.properties
(not resources_id.properties) for the translation to work.

Indonesian code is in_ID and due to the bug above
"The indonesian locale gets parsed from both the identifiers "id" and "in". ISO 639 specifies only "id" as correct. When you ask the locale customer for its representation, it returns "in", which is not correct."

No comments:

Post a Comment