jQuery-ui-i18n minified file missing for 1.12+ on the Google CDN
As part of upgrading jQuery-UI, not able to find the minified version of jquery-UI-i18N.min.js file for the jquery-UI.1.13.2 version. It was available till the version 1.11.4. Shall we create the file by generating the minified version from the i18N folder files available in the repository.
Sample code provided in the Jquery added 4 languages in the html file as a separate script tags.
If we want to use all the languages then Do we need to provide script tag for all the languages ?
Thanks for the report. How are you consuimg jQuery UI 1.11.4 that you see minified i18n files available?
Also, yes, you should include language files for all languages you intend to support.
Thanks for the report. How are you consuimg jQuery UI 1.11.4 that you see minified i18n files available?
Also, yes, you should include language files for all languages you intend to support.
@mgol - Thanks for your reply. Before upgrade we have used jQuery UI - v1.10.2 version file - jquery-ui-i18n.min.js
jQuery UI 1.11.4 i18N file is available in the below URL https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/i18n/jquery-ui-i18n.min.js
Thanks for the info. I don't see any mention of these files being available on the CDN in the official release blog posts but it does look they stopped being published since 1.12.0. This only applies to the Google CDN, though, on the jQuery one I don't see a mention of i18n files ever being separately available.
Since the issue is already in 1.12, given limited team resources we're not looking into changes to the release process unless there's a very strong reason to do so; see the project status at https://blog.jqueryui.com/2021/10/jquery-maintainers-update-and-transition-jquery-ui-as-part-of-overall-modernization-efforts/.
I'd recommend pulling jQuery UI from npm and building the joint i18n file by yourself. I'd also recommend only pulling the languages that your site supports.
Thank you very much for your support. As I am using DotNet MVC project, I have installed jQuery.UI.Combined 1.13.2 version from the Nuget Package Manager and I will download the i18n files from the below GIT source file. https://github.com/jquery/jquery-ui/tree/1.13.2/ui/i18n and merge it together manually. Shall I create and use the minified JS file by combine the required language files ?
Be careful; those files are UMD and they're pulling other files as dependencies. If you don't want to use AMD to load them, it's best to make sure typeof define === "undefined" as then jQuery.datepicker will be used as the datepicker parameter. Other than that, I think it should work but I'd recommend just trying.