Skip to content

localization files hard to find #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
0-wiz-0 opened this issue Aug 31, 2014 · 0 comments
Closed

localization files hard to find #225

0-wiz-0 opened this issue Aug 31, 2014 · 0 comments

Comments

@0-wiz-0
Copy link

0-wiz-0 commented Aug 31, 2014

http://api.jqueryui.com/datepicker/
documents that, to get localization, you have to add

$.datepicker.setDefaults( $.datepicker.regional[ "fr" ] );

to your file.
This does not seem to be enough, and there are stackoverflow questions and answers (e.g. http://stackoverflow.com/questions/494958/how-do-i-localize-the-jquery-ui-datepicker) about this, which hint that you have to define the localization yourself, or use files provided by jqueryui. These links usually mention the 'development bundle' or point to a non-existing i18n directory on jqueryui.com. Bad links on other websites are not your fault, of course.

However, the example on jqueryui.com at http://jqueryui.com/datepicker/#localization just includes

  <script src="datepicker-ar.js"></script>

and similar without mentioning where to get them, and I didn't find these files in the downloads on http://jqueryui.com/download/ either. It seems these files are currently only available directly from git:
https://github.com/jquery/jquery-ui/tree/master/ui/i18n

Please document where to get these files in the official API documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant