[
https://issues.apache.org/jira/browse/OFBIZ-5025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447457#comment-13447457
]
Leon commented on OFBIZ-5025:
-----------------------------
hi, Erwan, please try the new patch.
Since these two files is in DOS format, the patch file generated from windows
cannot be recognized correctly in unix. I re-diff them from unix and test it
through.
> 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
> Assignee: Erwan de FERRIERES
> 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