Summary: | Calendar widget cannot be translated | ||
---|---|---|---|
Product: | Koha | Reporter: | Chris Cormack <chris> |
Component: | Templates | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | paul.poulain |
Version: | 3.6 | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Attachments: |
Proposed fix
screenshot of translated calendar Follow-up fix Bug 2307 - Calendar widget cannot be translated |
Description
Chris Cormack
2010-05-21 00:49:11 UTC
Created attachment 2351 [details] [review] Proposed fix The idea of using the TMPL_VAR "lang" might work, but would require that all possible language files be included with all templates. This patch copies the calendar's language strings from a standalone javascript file into calendar.inc where they can be translated along with other strings. Created attachment 2358 [details]
screenshot of translated calendar
Tested successfully with Koha version 3.01.00.143 and German (de-DE).
I tested the calendar display under tools > calendar and the smaller version on the checkout page.
Patch pushed, please test This bug is mentioned in: Possible fix for Bug 2307, Calendar widget cannot be translated http://lists.koha-community.org/pipermail/koha-patches/2010-December/013260.html A follow-up is needed for the OPAC. Created attachment 6604 [details] [review] Follow-up fix Implementing the same fix in the OPAC which we now use in the staff client. Created attachment 6619 [details] [review] Bug 2307 - Calendar widget cannot be translated Implementing the same fix in the OPAC which we now use in the staff client. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> QA comment: templates change only i've tested that calendar still works after applying the patch. The rest will appear when translations will be updated ! passed QA patch pushed, please test |