Leon created OFBIZ-5025: --------------------------- Summary: jquery validator localization looks for "messages_cn.js" for locale zh_CN and "_tw" for zh_TW Key: OFBIZ-5025 URL: https://issues.apache.org/jira/browse/OFBIZ-5025 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Reporter: Leon Priority: Minor Fix For: SVN trunk Attachments: OFBIZ-5025.patch
it's weird that jquery validator localization does not treat "zh_CN" as zhcn or zh-cn but "cn", neither does zh_TW. Trivial update to JsLanguageFileMappingCreator.java to make it generate correct file url for zh_CN and zh_TW. Besides, a uptodate JsLanguageFilesMapping.java created by service createJsLanguageFileMapping is also packaged into patch. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira