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') %]
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.
Note that you may observe Bug 33998 during testing.
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>
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)
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>
Pushed to master for 23.11. Nice work everyone, thanks!
Not backported to 23.05.x