gigaZhang / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

Traditional Chinese support of struts2-jquery-grid-plugin #838

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(This is for feature requests and bugs in Struts2 jQuery Plugin - for
getting help, please use the User Group.
http://groups.google.com/group/struts2-jquery )

What steps will reproduce the problem?
Set locale to Traditional Chinese and use grid tag.
<sj:head jqueryui="true" locale="zh_TW"/>
<sjg:grid ...>

What is the expected output? Traditional Chinese
What do you see instead? a popup say "Loading"

Which struts2 version?
2.3.4

Which struts2-jquery plugin version?
3.3.1

Please provide any additional information below.
Solution: I add grid.locale-zh.js into template/i18n/ of 
struts2-jquery-grid-plugin-3.3.1.jar

Original issue reported on code.google.com by ching@icecreaming.com on 15 Jun 2012 at 6:14

Attachments:

GoogleCodeExporter commented 9 years ago
Have you try <sj:head jqueryui="true" locale="zh-CN"/>?

Currently only grid.locale-zh-CN.js is provided by the jqGrid project. Please 
open an Issue in this project and attach your translation there. with a new 
jqGrid release it will be available here.

https://github.com/tonytomov/jqGrid/issues

Original comment by johgep on 20 Jun 2012 at 7:23

GoogleCodeExporter commented 9 years ago
Yes, I try zh-CN and Mainland Simplified Chinese works with my pet
project http://code.google.com/p/jasperclient (Proudly included
struts2-jquery)

But I am a Hongkonger, I intend to use Taiwanese Chinese only, so that
I mod your struts2-jquery-grid-plugin and let you know.

Thank you for redirecting my issue to the right party
https://github.com/tonytomov/jqGrid/issues

Ching

Original comment by ching@icecreaming.com on 20 Jun 2012 at 12:21