Where are the i18n files of jQuery UI datepicker >= 1.11.0

牧云@^-^@ 提交于 2019-11-29 11:37:57

问题


I downloaded jQuery UI from a custom build (http://jqueryui.com/download) and from http://jqueryui.com/download/all/... but the folder i18n is no longer present.

The Localization section of the docs still mention the files with the old filenames (like in 1.10):

Each localization is contained within its own file with the language code appended to the name, e.g., jquery.ui.datepicker-fr.js for French.

I found the files in GitHub, with the new filenames (datepicker-fr.js instead of jquery.ui.datepicker-fr.js), but I didn't find them anywhere else.

Is it a bug in the downloader with the new files structure in jQuery UI 1.11?

Is there somewhere else where we can find the i18n files, except in the GitHub source where it's not really versioned (i.e.: you just get the last files from master without knowing with which version of jQuery UI they are compatible).


回答1:


The vendor's upgrade guide mentions the following:

"If you want the complete jQuery UI source files, demos, and tests, you can get them from: https://github.com/jquery/jquery-ui/releases."

It is here where you will find the files you're looking for, within the appropriate version(s).

I also found the minified file is being hosted by google: http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/i18n/jquery-ui-i18n.min.js




回答2:


I ended up downloading the files from https://github.com/jquery/jquery-ui/tree/master/ui/i18n, but I would still like to know if they are available elsewhere.

I have tested them and can confirm they are compatible with my jQuery UI 1.11.1 datepicker.



来源:https://stackoverflow.com/questions/25765124/where-are-the-i18n-files-of-jquery-ui-datepicker-1-11-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!