Bug 39255 - Improve translation of title tags: OPAC part 4
Summary: Improve translation of title tags: OPAC part 4
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 33906
  Show dependency treegraph
 
Reported: 2025-03-05 18:35 UTC by Owen Leonard
Modified: 2025-12-07 03:22 UTC (History)
2 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
This fixes several OPAC templates so that the title tags can be more easily translated. There is no (or minimal) differences in the English browser tab titles.
Version(s) released in:
Circulation function:


Attachments
Bug 39255: Improve translation of title tags: OPAC part 4 (31.85 KB, patch)
2025-06-10 13:28 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 39255: Improve translation of title tags: OPAC part 4 (31.85 KB, patch)
2025-07-31 17:36 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 39255: Improve translation of title tags: OPAC part 4 (31.87 KB, patch)
2025-12-06 22:04 UTC, David Nind
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2025-03-05 18:35:18 UTC
This patch will modify the last batch of OPAC templates so that translatable strings in the <title> tag are wrapped in the correct translation function, e.g. [% t('Translate me') %]
Comment 1 Owen Leonard 2025-06-10 13:28:53 UTC Comment hidden (obsolete)
Comment 2 Owen Leonard 2025-07-31 17:36:43 UTC Comment hidden (obsolete)
Comment 3 David Nind 2025-12-06 22:04:06 UTC
Created attachment 190273 [details] [review]
Bug 39255: Improve translation of title tags: OPAC part 4

This patch updates a batch of OPAC templates so that title tags can
be more easily translated.

To test, apply the patch and confirm that the following pages have
correct title tags:

- The summary page for a logged in user
- Most popular
- Purchase suggestions
- Recent comments
- Tags
- Lists
  - List of lists
  - List contents
  - Send list
  - Share a private list
- Send a cart
- View a subscription -> More details
- The opac-showmarc page isn't usually accessed directly but you can
  test it by opening the URL, e.g.
  http://localhost:8080/cgi-bin/koha/opac-showmarc.pl?viewas=html&id=5
- Self checkin (with SelfCheckInModule enabled).
- Self checkout (with WebBasedSelfCheck enabled).
  - Self checkout help
  - Self checkout slip

Sponsored-by: Athens County Public Libraries
Signed-off-by: David Nind <david@davidnind.com>
Comment 4 David Nind 2025-12-07 03:22:30 UTC
Testing notes (using KTD):

1. Setup for some of the testing:
   - Most popular: enable OpacTopissue system preference
   - Purchase suggestions: OPACViewOthersSuggestions (shows as "Purchase 
     suggestions" under the search box, only shows if logged in and takes
     you to Purchase suggestions under your account)
   - Recent comments: enable OpacShowRecentComments system preference
   - Lists:
     . Create a public list and add an item
     . Create a private list and add an item