Skip to content

Datepicker: Adding Mongolian localization#2401

Open
btseee wants to merge 1 commit intojquery:mainfrom
btseee:datepicker-mn
Open

Datepicker: Adding Mongolian localization#2401
btseee wants to merge 1 commit intojquery:mainfrom
btseee:datepicker-mn

Conversation

@btseee
Copy link
Copy Markdown

@btseee btseee commented Apr 2, 2026

As a native Mongolian speaker I'm creating this pull request to add Mongolian language to datepicker.

Баярлалаа (Thank you)

Copilot AI review requested due to automatic review settings April 2, 2026 12:38
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Apr 2, 2026

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: btseee / name: Battseren Badral (970d9cf)

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Mongolian (mn) localization support to the jQuery UI Datepicker, along with coverage to ensure parsing works with Mongolian month names and inclusion in the localization demo.

Changes:

  • Added new mn regional configuration file for Datepicker.
  • Extended the Datepicker unit tests to load mn and validate parseDate with Mongolian month names.
  • Updated the localization demo to load and present Mongolian as a selectable locale.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
ui/i18n/datepicker-mn.js Introduces Mongolian regional strings and formatting for Datepicker.
tests/unit/datepicker/options.js Loads the new locale and adds a parseDate assertion for Mongolian month names.
demos/datepicker/localization.html Includes the new locale module and adds Mongolian to the locale dropdown.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants