[
https://issues.apache.org/jira/browse/OFBIZ-5097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13531050#comment-13531050 ]
Leon commented on OFBIZ-5097:
-----------------------------
hi Naofumi,
Kindly remind you that the file you patched is an auto-generated by service "createJsLanguageFileMapping".
There're two comments in this file:
// DO NOT EDIT THIS FILE! THIS IS AUTO GENERATED AND WILL GET WRITTEN OVER PERIODICALLY WHEN THE DATA CHANGE
// Rather use the createJsLanguageFileMapping service to create or update it. You will still need to compile thereafter
> jquery language mapping fix for japanese
> ----------------------------------------
>
> Key: OFBIZ-5097
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5097> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Naofumi Fukue
> Priority: Minor
> Attachments: JsLanguageFilesMapping.java.patch
>
>
> jQuery language mapping is not collect for japanese (datepicker). So date format is wrong in japanese.
> Index: framework/common/src/org/ofbiz/common/JsLanguageFilesMapping.java
> ===================================================================
> --- framework/common/src/org/ofbiz/common/JsLanguageFilesMapping.java (revision 1419381)
> +++ framework/common/src/org/ofbiz/common/JsLanguageFilesMapping.java (working copy)
> @@ -120,9 +120,9 @@
> localeFiles.put("it", "/images/jquery/plugins/datejs/date-it-IT.js");
> localeFiles.put("it_IT", "/images/jquery/plugins/datejs/date-it-IT.js");
> localeFiles.put("it_CH", "/images/jquery/plugins/datejs/date-it-CH.js");
> - localeFiles.put("ja", "/images/jquery/plugins/datejs/date-en-US.js");
> + localeFiles.put("ja", "/images/jquery/plugins/datejs/date-ja-JP.js");
> localeFiles.put("ja_JP", "/images/jquery/plugins/datejs/date-ja-JP.js");
> - localeFiles.put("ja_JP_JP", "/images/jquery/plugins/datejs/date-en-US.js");
> + localeFiles.put("ja_JP_JP", "/images/jquery/plugins/datejs/date-ja-JP.js");
> localeFiles.put("ko", "/images/jquery/plugins/datejs/date-en-US.js");
> localeFiles.put("ko_KR", "/images/jquery/plugins/datejs/date-ko-KR.js");
> localeFiles.put("lv", "/images/jquery/plugins/datejs/date-lv-LV.js");
--
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