Seeing that GeoNetwork 2.6.4 is apparently still using the old version
of the DHTML calendar for its metadata editor, which is not mantained
any longer ( http://www.dynarch.com/projects/calendar/old/ ), this
created some problems with localization.
I am currently working on a complete localization of the ISO19139 xml
schema, and stumbled upon an error where I couldn't get the calendar
to pop up in date fields.
After debugging with Firebug and Chrome, I located the culprit in a
malformed localization file under the [GEONETWORK
FOLDER]\web\geonetwork\scripts\calendar\lang directory.
The old calendar-el.js file is malformed and lacks the WEEKEND field,
which causes the script to break up at load time, plus other
omissions.
I therefore created a new localization, which works like a charm and
doesn't break the metadata editor. I attach this as a courtesy to the
community as the "classic" official DHTML calendar project is
currently unmaintained.
I hope that this will be of some help to any localizators in the
future, and it will be included in future releases of GeoNetwork.
Regards,
Victor Epitropou
(attachments)
calendar-el.js (4.35 KB)