[ 
https://issues.apache.org/jira/browse/OFBIZ-5025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793600#comment-13793600
 ] 

Jacques Le Roux commented on OFBIZ-5025:
----------------------------------------

Backported in R12.04 at r1531640

> 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 was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to