You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Erwan de FERRIERES (JIRA)" <ji...@apache.org> on 2012/09/03 20:47:07 UTC

[jira] [Assigned] (OFBIZ-5025) jquery validator localization looks for "messages_cn.js" for locale zh_CN and "_tw" for zh_TW

     [ https://issues.apache.org/jira/browse/OFBIZ-5025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erwan de FERRIERES reassigned OFBIZ-5025:
-----------------------------------------

    Assignee: Erwan de FERRIERES
    
> 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