On 2025/01/23 0:46, Laszlo Elbert wrote:
> 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:
> 
>  1. tell Apache2 to use en in Default_Language in mime.conf
>  2. 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


The jquery-ui-i18n.js file is originally provided by Trac and the same file 
doesn't exist in the other packages. So that, it is unable to symlink to a file 
in other packages. Please report to Ubuntu package maintainer of the trac.

-- 
Jun Omae <[email protected]> (大前 潤)

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/trac-users/f5bb76f2-3c07-42d6-9784-f0615de2a47a%40gmail.com.

Reply via email to