Skip to content

localization files hard to find #225

Closed
@0-wiz-0

Description

@0-wiz-0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions