Dear Fellow Colleagues.
I migrated our trac projects to Ubuntu 24.04 using the apt provided trac 1.6.1 package.
Everything works fine, apart from the datepicker which is always displayed in Simplified Chinese. What I tried:
- tell Apache2 to use en in Default_Language in mime.conf
- set trac.ini default_language = en_US - at least this latter converted the date format right.
The
Ubuntu default installation missed (bug here) the jquery-ui-i18n.js, so
I recreated the symlink from
/usr/lib/Python3/dist_packages/trac/htdocs/js and I also did a
trac-admin var/trac/env/ deploy /var/trac/htdocs. However, absolutely no
luck to get the datepicker in Engish working. Although, it is installed
in /usr/share/javascript/ and also jquery-ui-addon.
Any help
would be appreciated to get the datepicker right. Probably the Ubuntu
packagee misses a symlink, but I do not which one.
Many thanks in advance for your help.
Laszlo Elbert
lrwxrwxrwx 1 root root 55 Nov 19 2023 jquery.js -> ../../../../../../share/javascript/jquery/jquery.min.js
lrwxrwxrwx 1 root root 82 Nov 19 2023 jquery-ui-addons.js -> ../../../../../../share/javascript/jquery-timepicker/jquery-ui-timepicker-addon.js
lrwxrwxrwx 1 root root 70 Jan 21 22:53 jquery-ui-i18n.js -> ../../../../../../share/javascript/jquery-ui/ui/i18n/jquery-ui-i18n.js
lrwxrwxrwx 1 root root 57 Nov 19 2023 jquery-ui.js -> ../../../../../../share/javascript/jquery-ui/jquery-ui.js