how to Localizate DatePicker?

Topics: Localization, 中文(Chinese)
Jun 3, 2013 at 2:11 AM
I want to localizate DatePicker like zh-CN,so I copy the jquery.ui.datepicker-zh-CN.js into the Orchard.jQuery scripts path,and I add some code in Orchard.jQuery ResourceManifest.cs
like follow:
 manifest.DefineScript("jQueryUI_DatePicker").SetUrl("jquery.ui.datepicker-zh-CN.js", "jquery.ui.datepicker.js").SetVersion("1.9.2").SetDependencies("jQueryUI_Core");
but this doesn't work? what is the right method to Localizate DatePicker?
Jun 10, 2013 at 1:05 AM
Edited Jun 10, 2013 at 1:06 AM
Perhaps you're running the site in Debug mode? Notice that you're using the overloaded version of SetUrl that takes the release script and the debug script url.
Also, I think you should change the code to something along the lines of:
Jun 18, 2013 at 12:20 PM
I try as you said ,but it doesn't work!
Jun 18, 2013 at 2:10 PM
You should translate the Chinese .po files :
You have to translate the resources of the class Orchard.Core.Shapes.Localization.DateTimeLocalization .

If you don't have an account, you can create one on and ask to Benedek Farkas to enable it (reply this thread and give your username)

Or you can download the zh-CN translations (, unzip and paste them to the root of your site and change the missing resources manually.

Documentation about localization :