Bug 37926 - Bookings - "to" untranslatable
Summary: Bookings - "to" untranslatable
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-13 20:53 UTC by Caroline Cyr La Rose
Modified: 2024-09-13 20:53 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2024-09-13 20:53:37 UTC
When placing a booking, where we choose the dates of the booking, the "to" between the two dates is not translatable.

To get there:

1. In a detailed record, click on the Items tab on the left

2. Where it says Bookable, choose Yes and click Update

3. Click Place booking

4. Find and select a patron to enable the other fields

5. Under Booking dates, choose two dates
   --> Dates are displayed as date1 to date2

6. Translate the interface

gulp po:update --lang fr-CA

./misc/translator/translate update fr-CA

7. In the system preference StaffInterfaceLanguage, select the other language and click Save all I18N/L10N preferences

8. Change the interface in the other language

9. Redo steps 3 to 5
   --> Dates are still displayed as date1 to date2


I searched the various po files, but I didn't take the time to check all occurrences of "to", obviously. I mostly searched for "%s to %s" and modals/place_booking.inc.