Bug 33915

Summary: Improve translation of title tags: Installer and onboarding
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: david, fridolin.somers, testopia
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33998
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.11.00
Circulation function:
Bug Depends on:    
Bug Blocks: 33906    
Attachments: Bug 33915: Improve translation of title tags: Installer and onboarding
Bug 33915: Improve translation of title tags: Installer and onboarding
Bug 33915: Improve translation of title tags: Installer and onboarding

Description Owen Leonard 2023-06-06 15:58:10 UTC
This patch will modify the installer and onboarding templates in the staff client so that translatable strings in the <title> tag are wrapped in the correct translation function, e.g. [% t('Translate me') %]
Comment 1 Owen Leonard 2023-06-13 16:29:02 UTC
Created attachment 152312 [details] [review]
Bug 33915: Improve translation of title tags: Installer and onboarding

This patch updates installer and onboarding templates so that title
tags can be more easily translated.

To test, apply the patch and run through the installation and
onboarding process. At each stage confirm that the page title is
correct.
Comment 2 Owen Leonard 2023-06-13 16:29:59 UTC
Note that you may observe Bug 33998 during testing.
Comment 3 David Nind 2023-08-29 10:29:34 UTC
Created attachment 154898 [details] [review]
Bug 33915: Improve translation of title tags: Installer and onboarding

This patch updates installer and onboarding templates so that title
tags can be more easily translated.

To test, apply the patch and run through the installation and
onboarding process. At each stage confirm that the page title is
correct.

Signed-off-by: David Nind <david@davidnind.com>
Comment 4 David Nind 2023-08-29 10:36:52 UTC
Testing notes using KTD - to start the web installer:

1. Access the database server[1]: mysql -uroot -ppassword -hkoha-db-1
2. Drop the koha_kohadev database: drop database koha_kohadev;
3. Create the database: create database koha_kohadev;
4. Add privileges (for a real installation this would be limited): grant all on koha_kohadev.* to koha_kohadev;
5. Restart everything (there may be some errors listed): flush_memcached and then restart_all
6. Access the web installer: go to 127.0.0.1:8081
7. Use the database user name and password: get from /etc/koha/sites/kohadev/koha-conf.xml (default: koha_kohadev, password)
8. Continue through the installation process

Note:
[1] Database password is password (from KTD .env file)
Comment 5 Jonathan Druart 2023-09-01 09:37:17 UTC
Created attachment 155086 [details] [review]
Bug 33915: Improve translation of title tags: Installer and onboarding

This patch updates installer and onboarding templates so that title
tags can be more easily translated.

To test, apply the patch and run through the installation and
onboarding process. At each stage confirm that the page title is
correct.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 6 Tomás Cohen Arazi (tcohen) 2023-09-01 14:24:29 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 7 Fridolin Somers 2023-09-08 05:54:12 UTC
Not backported to 23.05.x