In the OPAC, calender is not well translated as it is in the intranet
Created attachment 177195 [details] [review] Bug 38973: Calendar is not properly translated on OPAC TEST PLAN: 1 - Activate PatronSelfRegistration and select a PatronSelfRegistrationDefaultCategory 2 - Have any language installed on which there is a properly translated calendar here https://your-intranet/cgi-bin/koha/members/memberentry.pl?op=add_form 3 - Notice the calendar here is not translated: https://your-opac/cgi-bin/koha/opac-memberentry.pl 4 - Apply patch 5 - Translate again 6 - Try again 3 and notice it now works
calendar.js in the staff interface is a JS file, so it uses the double-underscore function ( __("Sun") ). calendar.inc is a Template Toolkit file so it should use a single underscore: _("Sun").
Are the translations resources also split between OPAC and Intranet ? I can't manage to have the translation working with a single _
It should use a single underscore as it's a template file, not a script... and yes, different files for OPAC and staff translations.