I am working with a language file that stores the traductions for the jquery datepicker URL: http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/i18n/jquery-ui-i18n.min.js?ver=3.4.2
The jQuery.datepicker.regional object is returned and I would like to access the it (italian) property of this object. My problem is that when I do something like
console.log(jQuery.datepicker.regional['it'])
or
console.log(jQuery.datepicker.regional.it)
the console says the object is undefined.
But when I do something like:
console.log(jQuery.datepicker.regional);
The console returns something like this:
[Object]
: Object
af: Object
ar: Object
...
it: Object
What am I doing wrong? The "it" object is there isn't it? How can I access the "it" object of the jQuery.datepicker.regional object?
Thanks