Bug 31736 - Context for translation: "All"
Summary: Context for translation: "All"
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Hammat wele
QA Contact: Testopia
URL:
Keywords: Academy
Depends on:
Blocks:
 
Reported: 2022-10-11 13:50 UTC by Caroline Cyr La Rose
Modified: 2024-08-13 19:53 UTC (History)
3 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
Bug 31736: Context for translation: 'All' (All libraries) (12.01 KB, patch)
2023-07-10 21:20 UTC, Caroline Cyr La Rose
Details | Diff | Splinter Review
Bug 31736: Context for translation: 'All' (All patron categories) (8.34 KB, patch)
2023-07-10 21:20 UTC, Caroline Cyr La Rose
Details | Diff | Splinter Review
Bug 31736: Context for translation: 'All' (All libraries) (10.15 KB, patch)
2024-02-28 17:24 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Context for translation: 'All' (All patron categories) (5.32 KB, text/plain)
2024-03-25 13:46 UTC, Hammat wele
Details
Bug 31736: Editing 'All' to 'All libraries' (8.65 KB, patch)
2024-03-25 19:08 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All patron categories' (6.67 KB, patch)
2024-03-25 19:08 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All item types' (7.88 KB, patch)
2024-03-25 19:08 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All shelving locations' (1.69 KB, patch)
2024-03-25 19:08 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All lost statuses' (1.64 KB, patch)
2024-03-25 19:08 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All not for loan statuses' (1.70 KB, patch)
2024-03-25 19:08 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All checkouts' (1.76 KB, patch)
2024-03-25 19:08 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All vendors' (2.18 KB, patch)
2024-03-25 19:08 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'Report dictionary areas' (1.72 KB, patch)
2024-03-25 19:08 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All report groups' (2.36 KB, patch)
2024-03-25 19:08 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All display locations' (2.62 KB, patch)
2024-03-25 19:08 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All MARC fields' (1.70 KB, patch)
2024-03-25 19:08 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' in viewlog.tt (5.25 KB, patch)
2024-03-25 19:08 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' in viewlog.tt (5.33 KB, patch)
2024-07-24 15:02 UTC, Baptiste Bayche
Details | Diff | Splinter Review
Bug 31736: Editing 'All' in viewlog.tt (5.33 KB, patch)
2024-08-05 15:34 UTC, Baptiste Bayche
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All libraries' (8.65 KB, patch)
2024-08-13 19:52 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All patron categories' (6.68 KB, patch)
2024-08-13 19:52 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All item types' (7.89 KB, patch)
2024-08-13 19:52 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All shelving locations' (1.69 KB, patch)
2024-08-13 19:52 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All lost statuses' (1.64 KB, patch)
2024-08-13 19:52 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All not for loan statuses' (1.70 KB, patch)
2024-08-13 19:52 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All checkouts' (1.76 KB, patch)
2024-08-13 19:53 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All vendors' (2.18 KB, patch)
2024-08-13 19:53 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'Report dictionary areas' (1.72 KB, patch)
2024-08-13 19:53 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All report groups' (2.36 KB, patch)
2024-08-13 19:53 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All display locations' (2.62 KB, patch)
2024-08-13 19:53 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' to 'All MARC fields' (1.70 KB, patch)
2024-08-13 19:53 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 31736: Editing 'All' in viewlog.tt (5.33 KB, patch)
2024-08-13 19:53 UTC, Hammat wele
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2022-10-11 13:50:59 UTC
"All" is used all over Koha, and refers to different things.

In French, those different things have different genders and the "All" must be in that gender ("tous" for "male-gendered" things and "toutes" for "female-gendered" things).

In fr-CA-staff-prog, it says "All" is used in these places

#: koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt:313
#: koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt:380
#: koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt:347
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt:121
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt:123
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:208
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:216
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:387
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:396
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:918
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:939
#: koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt:45
#: koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt:247
#: koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt:254
#: koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt:261
#: koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt:268
#: koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt:57
#: koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt:63
#: koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt:74
#: koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt:86
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt:203
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt:248
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt:263
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt:111
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt:116
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt:245
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt:259
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt:887
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt:1494
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt:152
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt:156
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt:165
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt:179
#: koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt:50
#: koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt:281
#: koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt:396
#: koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt:415
#: koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt:25
#: koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt:37
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt:135
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt:226
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt:217
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt:219
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt:238
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt:240
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt:268
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt:270
#: koha-tmpl/intranet-tmpl/prog/en/includes/additional-fields-entry.inc:12
#: koha-tmpl/intranet-tmpl/prog/en/includes/av-build-dropbox.inc:16
#: koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc:247
#: koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc:33
#: koha-tmpl/intranet-tmpl/prog/en/includes/str/tinymce_i18n.inc:2

We should add context so that translators know what that "All" refers to.
Comment 1 Caroline Cyr La Rose 2023-07-10 15:57:43 UTC
I tried to separate what each "All" refers to

All libraries/branches
#: koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt:382
#: koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt:253
#: koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt:63
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt:114
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt:145
#: koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt:47
#: koha-tmpl/intranet-tmpl/prog/en/includes/serials-advsearch.inc:40
#: koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc:33

All patron categories
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:214
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:405
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:891
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:920
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:1026
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:1047
#: koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt:74

All item types
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:226
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:414
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:898
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:928
#: koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt:261
#: koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt:86
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt:149
#: koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt:25

All collections / collection codes
#: koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt:268
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt:198
#: koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt:37

All shelving locations
#: koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt:275

All lost statuses
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt:158

All not for loan statuses
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt:172

All checkout types (regular vs on-site checkout)
#: koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt:139

All vendors
#: koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt:315

All options for Statistic 1 in acquisitions
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt:243

All options for Statistic 2 in acquisitions
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt:258

Report dictionary areas
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt:88

All report groups
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt:228

All report subgroups
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt:240

All display locations for additional contents
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt:148
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt:372

All MARC fields
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt:226

All log modules
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt:212
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt:214

All log actions
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt:233
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt:235

All log interfaces
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt:263
#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt:265

Show all results in a table
#: koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt:349
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt:126
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt:128
#: koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt:153
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt:1491
#: koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc:253

All ?? (From additional fields)
#: koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt:392

All ?? (all options from authorized value list)
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt:872
#: koha-tmpl/intranet-tmpl/prog/en/includes/av-build-dropbox.inc:16

??
#: koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt:45
#: koha-tmpl/intranet-tmpl/prog/en/includes/str/tinymce_i18n.inc:2
Comment 2 Caroline Cyr La Rose 2023-07-10 21:20:29 UTC
Created attachment 153301 [details] [review]
Bug 31736: Context for translation: 'All' (All libraries)

This patch adds context for translators for the term 'All' when it refers to 'All libraries'.

1. Apply patch

2. View the following pages
   --> The pages work (no errors)
   --> No spelling errors in 'All' libraries

   - Acquisitions > Invoices (Library filter on the left)
   - Circulation > Holds queue (Library filter)
   - Reports > Cash register (Transaction library filter)
   - Reports > Items lost (Library filter)
   - Serials > Check expiration (Library filter)
   - Serials > Search settings icon in the search bar > Advanced search (Library filter)
   - Acquisitions > Add to basket > From a subscription (Library filter on the left)
   - Installer > Onboarding > New circulation rule (Library)

3. Update the po files

   gulp po:update --lang xx-XX

   for example, gulp po:update --lang fr-CA

4. Check the xx-XX-messages.po file (e.g. misc/translator/po/fr-CA-messages.po)
   --> There should be an entry for 'All' with a line msgctxt that gives the 'All libraries/branches' context

5. Update the file with a random word or phrase for the 'All' translation

For example, I translated 'All' by 'Toutes les bibliothèques'

\#: koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt:383
\#: koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt:254
\#: koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt:64
\#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt:115
\#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt:146
\#: koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt:48
\#: koha-tmpl/intranet-tmpl/prog/en/includes/serials-advsearch.inc:41
\#: koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc:34
msgctxt "All libraries/branches"
msgid "All"
msgstr "Toutes les bibliothèques"

6. Install a new language
   6.1. Run the following commands in the terminal, replacing xx-XX with the language code (e.g. fr-CA)

   ./misc/translator/translate install xx-XX

   6.2. In the Koha staff interface, go to Administration > System preferences
   6.3. Search for language
   6.4. Check the box next to the new language
   6.5. Save

7. Switch the language of the interface

8. Redo step 2
   --> The pages still work (no errors)
   --> The 'All' libraries string should be replaced by whatever you put in step 5
Comment 3 Caroline Cyr La Rose 2023-07-10 21:20:30 UTC
Created attachment 153302 [details] [review]
Bug 31736: Context for translation: 'All' (All patron categories)

This patch adds context for translators for the term 'All' when it refers to 'All patron categories'.

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> No spelling errors in 'All' patron categories

   - Administration > Circulation and fines rules > Patron category column (All in existing rule)
   - Administration > Circulation and fines rules > Patron category column (All in drop-down to create a new rule)
   - Administration > Circulation and fines rules > Default waiting hold cancellation policy > Patron category column (All in existing rule)
   - Administration > Circulation and fines rules > Default waiting hold cancellation policy > Patron category column (All in drop-down to create a new rule)
   - Administration > Circulation and fines rules > Default article request fees > Patron category column (All in existing rule)
   - Administration > Circulation and fines rules > Default article request fees > Patron category column (All in drop-down to create a new rule)
   - Installer > Onboarding > New circulation rule (Patron category)

3. Update the po files

   gulp po:update --lang xx-XX

   for example, gulp po:update --lang fr-CA

4. Check the xx-XX-messages.po file (e.g. misc/translator/po/fr-CA-messages.po)
   --> There should be an entry for 'All' with a line msgctxt that gives the 'All patron categories' context

5. Update the file with a random word or phrase for the 'All' translation

For example, I translated 'All' by "Toutes les catégories d'utilisateurs"

\#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:215
\#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:406
\#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:892
\#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:921
\#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:1027
\#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt:1048
\#: koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt:75
msgctxt "All patron categories"
msgid "All"
msgstr "Toutes les catégories d'utilisateurs"

6. Install a new language
   6.1. Run the following commands in the terminal, replacing xx-XX with the language code (e.g. fr-CA)

   ./misc/translator/translate install xx-XX

   6.2. In the Koha staff interface, go to Administration > System preferences
   6.3. Search for language
   6.4. Check the box next to the new language
   6.5. Save

7. Switch the language of the interface

8. Redo step 2
   --> The pages still work (no errors)
   --> The 'All' patron categories string should be replaced by whatever you put in step 5
Comment 4 Katrin Fischer 2023-07-16 11:32:13 UTC
Hi Caroline, ready for sign-off?
Comment 5 Caroline Cyr La Rose 2023-07-17 13:14:11 UTC
(In reply to Katrin Fischer from comment #4)
> Hi Caroline, ready for sign-off?

No I haven't had more time to work on this. :/

And anyway, Owen suggested we change the labels in English rather than add context.
Comment 6 Hammat wele 2024-02-28 17:24:54 UTC
Created attachment 162545 [details] [review]
Bug 31736: Context for translation: 'All' (All libraries)

This patch adds context for translators for the term 'All' when it refers to 'All libraries'.
This patch replace the term 'All' when it refers to 'All libraries' by 'All libraries/branches' to be able to translate by gender

1. Apply patch

2. View the following pages
   --> The pages work (no errors)
   --> No spelling errors in 'All' libraries

   - Acquisitions > Invoices (Library filter on the left)
   - Circulation > Holds queue (Library filter)
   - Reports > Cash register (Transaction library filter)
   - Reports > Items lost (Library filter)
   - Serials > Check expiration (Library filter)
   - Serials > Search settings icon in the search bar > Advanced search (Library filter)
   - Acquisitions > Add to basket > From a subscription (Library filter on the left)
   - Installer > Onboarding > New circulation rule (Library)

3. Update the po files

   gulp po:update --lang xx-XX

   for example, gulp po:update --lang fr-CA

4. Add tranlation for for 'All libraries/branches' in the file xx-XX-staff-prog.po (need after to be added in koha-l10n)

For example, I translated 'All libraries/branches' by 'Toutes les bibliothèques'

#: koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt:383
#: koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt:254
#: koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt:64
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt:115
#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt:146
#: koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt:48
#: koha-tmpl/intranet-tmpl/prog/en/includes/serials-advsearch.inc:41
#: koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc:34
#, c-format
msgid "All libraries/branches"
msgstr "Toutes les bibliothèques"

5. Install a new language
   6.1. Run the following commands in the terminal, replacing xx-XX with the language code (e.g. fr-CA)

   ./misc/translator/translate install xx-XX

   6.2. In the Koha staff interface, go to Administration > System preferences
   6.3. Search for language
   6.4. Check the box next to the new language
   6.5. Save

7. Switch the language of the interface

8. Redo step 2
   --> The pages still work (no errors)
   --> The 'All libraries/branches' libraries string should be replaced by whatever you put in step 4
Comment 7 Hammat wele 2024-03-25 13:46:36 UTC
Created attachment 163817 [details]
Bug 31736: Context for translation: 'All' (All patron categories)
Comment 8 Hammat wele 2024-03-25 19:08:03 UTC
Created attachment 163859 [details] [review]
Bug 31736: Editing 'All' to 'All libraries'

This patch edit the term 'All' to 'All libraries/branches', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch

2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All libraries/branches'
   --> No spelling errors in 'All' libraries

   - Acquisitions > Invoices (Library filter on the left)
   - Circulation > Holds queue (Library filter)
   - Reports > Cash register (Transaction library filter)
   - Reports > Items lost (Library filter)
   - Serials > Check expiration (Library filter)
   - Serials > Search settings icon in the search bar > Advanced search (Library filter)
   - Acquisitions > Add to basket > From a subscription (Library filter on the left)
   - Installer > Onboarding > New circulation rule (Library)
Comment 9 Hammat wele 2024-03-25 19:08:05 UTC
Created attachment 163860 [details] [review]
Bug 31736: Editing 'All' to 'All patron categories'

This patch edit the term 'All' to 'All patron categories', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All patron categories'
   --> No spelling errors in 'All' patron categories

   - Administration > Circulation and fines rules > Patron category column ('All patron categories' in existing rule)
   - Administration > Circulation and fines rules > Patron category column ('All patron categories' in drop-down to create a new rule)
   - Administration > Circulation and fines rules > Default waiting hold cancellation policy > Patron category column ('All patron categories' in existing rule)
   - Administration > Circulation and fines rules > Default waiting hold cancellation policy > Patron category column ('All patron categories' in drop-down to create a new rule)
   - Administration > Circulation and fines rules > Default article request fees > Patron category column ('All patron categories' in existing rule)
   - Administration > Circulation and fines rules > Default article request fees > Patron category column ('All patron categories' in drop-down to create a new rule)
   - Installer > Onboarding > New circulation rule (Patron category)
Comment 10 Hammat wele 2024-03-25 19:08:08 UTC
Created attachment 163861 [details] [review]
Bug 31736: Editing 'All' to 'All item types'

This patch edit the term 'All' to 'All item types', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All item types'
   --> No spelling errors in 'All item types'

   - Administration > Circulation and fines rules > Item types column ('All item types' in existing rule)
   - Administration > Circulation and fines rules > Item types column ('All item types' in drop-down to create a new rule)
   - Administration > Circulation and fines rules > Default waiting hold cancellation policy > Item types column ('All item types' in existing rule)
   - Administration > Circulation and fines rules > Default waiting hold cancellation policy > Item types column ('All item types' in drop-down to create a new rule)
   - Circulation > Hold queue > Item type > 'All item types' in Item type drop-down
   - Reports > Items lost > 'All item types' in Item type drop-down
   - Installer > Onboarding > New circulation rule (Item type)
Comment 11 Hammat wele 2024-03-25 19:08:11 UTC
Created attachment 163862 [details] [review]
Bug 31736: Editing 'All' to 'All shelving locations'

This patch edit the term 'All' to 'All shelving locations', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All shelving locations'
   --> No spelling errors in 'All shelving locations'
   - Circulation > Hold queue >  'All shelving locations' in Shelving location drop-down
Comment 12 Hammat wele 2024-03-25 19:08:14 UTC
Created attachment 163863 [details] [review]
Bug 31736: Editing 'All' to 'All lost statuses'

This patch edit the term 'All' to 'All lost statuses', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All lost statuses'
   --> No spelling errors in 'All lost statuses'
   - Reports > Items lost > 'All lost statuses' in Lost status drop-down
Comment 13 Hammat wele 2024-03-25 19:08:17 UTC
Created attachment 163864 [details] [review]
Bug 31736: Editing 'All' to 'All not for loan statuses'

This patch edit the term 'All' to 'All not for loan statuses', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All not for loan statuses'
   --> No spelling errors in 'All not for loan statuses'
   - Reports > Items lost > 'All not for loan statuses' in Not for loan drop-down
Comment 14 Hammat wele 2024-03-25 19:08:19 UTC
Created attachment 163865 [details] [review]
Bug 31736: Editing 'All' to 'All checkouts'

This patch edit the term 'All' to 'All checkouts', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All checkouts'
   --> No spelling errors in 'All checkouts'
   - Go to a patron profile who once took out a loan > Circulation history > 'All checkouts' in checkout tab
Comment 15 Hammat wele 2024-03-25 19:08:22 UTC
Created attachment 163866 [details] [review]
Bug 31736: Editing 'All' to 'All vendors'

This patch edit the term 'All' to 'All vendors', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. Create some Additional fields for Invoices and make it searchable
   2.1. Administration > Additional fields > Invoices > New fields
   2.2. Type a Name, select a Authorized value category, and check Searchable
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All vendors'
   --> No spelling errors in 'All vendors'
   - Acquisitions > Invoices > in the Search filters From the >> 'All vendors' in field drop-down
Comment 16 Hammat wele 2024-03-25 19:08:25 UTC
Created attachment 163867 [details] [review]
Bug 31736: Editing 'All' to 'Report dictionary areas'

This patch edit the term 'All' to 'Report dictionary areas', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'Report dictionary areas'
   --> No spelling errors in 'Report dictionary areas'
   - Reports > View dictionary > Add new definition > 'Report dictionary areas' should be in Filter by area drop-down
Comment 17 Hammat wele 2024-03-25 19:08:28 UTC
Created attachment 163868 [details] [review]
Bug 31736: Editing 'All' to 'All report groups'

This patch edit the term 'All' to 'All report groups', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. Reports > Create guided report
3. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All report groups'
   --> No spelling errors in 'All report groups'
   - Reports > Use saved  'All report groups' should be in a tab name
   - 'All report subgroups' should be in Subgroup drop-down
Comment 18 Hammat wele 2024-03-25 19:08:31 UTC
Created attachment 163869 [details] [review]
Bug 31736: Editing 'All' to 'All display locations'

This patch edit the term 'All' to 'All display locations', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All display locations'
   --> No spelling errors in 'All display locations'
   - Tools > News > 'All display locations' in Display location drop-down
   - Creation a new additional content, in Display location select Staff interface and OPAC
      --> in the Additional contents table the colunm Location should contant 'All display locations'
Comment 19 Hammat wele 2024-03-25 19:08:34 UTC
Created attachment 163870 [details] [review]
Bug 31736: Editing 'All' to 'All MARC fields'

This patch edit the term 'All' to 'All MARC fields', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All MARC fields'
   --> No spelling errors in 'All MARC fields'
   - Cataloging > MARC modification templates > New template > New Action
      'All MARC fields' should be in the drop-down list
Comment 20 Hammat wele 2024-03-25 19:08:36 UTC
Created attachment 163871 [details] [review]
Bug 31736: Editing 'All' in viewlog.tt

This patch edit the term 'All' to 'All log modules',
All log actions and All log interfaces , beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All log modules',
All log actions and All log interfaces
   --> No spelling errors in 'All log modules',
All log actions and All log interfaces
   - Tools > Log viewer > 'All log modules',
All log actions and All log interfaces should be displayed
Comment 21 Baptiste Bayche 2024-07-24 15:02:00 UTC
Created attachment 169498 [details] [review]
Bug 31736: Editing 'All' in viewlog.tt

This patch edit the term 'All' to 'All log modules',
All log actions and All log interfaces , beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All log modules',
All log actions and All log interfaces
   --> No spelling errors in 'All log modules',
All log actions and All log interfaces
   - Tools > Log viewer > 'All log modules',
All log actions and All log interfaces should be displayed
Comment 22 Baptiste Bayche 2024-08-05 15:34:59 UTC
Created attachment 170072 [details] [review]
Bug 31736: Editing 'All' in viewlog.tt

This patch edit the term 'All' to 'All log modules',
All log actions and All log interfaces , beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All log modules',
All log actions and All log interfaces
   --> No spelling errors in 'All log modules',
All log actions and All log interfaces
   - Tools > Log viewer > 'All log modules',
All log actions and All log interfaces should be displayed
Comment 23 Hammat wele 2024-08-13 19:52:36 UTC
Created attachment 170281 [details] [review]
Bug 31736: Editing 'All' to 'All libraries'

This patch edit the term 'All' to 'All libraries/branches', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch

2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All libraries/branches'
   --> No spelling errors in 'All' libraries

   - Acquisitions > Invoices (Library filter on the left)
   - Circulation > Holds queue (Library filter)
   - Reports > Cash register (Transaction library filter)
   - Reports > Items lost (Library filter)
   - Serials > Check expiration (Library filter)
   - Serials > Search settings icon in the search bar > Advanced search (Library filter)
   - Acquisitions > Add to basket > From a subscription (Library filter on the left)
   - Installer > Onboarding > New circulation rule (Library)
Comment 24 Hammat wele 2024-08-13 19:52:40 UTC
Created attachment 170282 [details] [review]
Bug 31736: Editing 'All' to 'All patron categories'

This patch edit the term 'All' to 'All patron categories', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All patron categories'
   --> No spelling errors in 'All' patron categories

   - Administration > Circulation and fines rules > Patron category column ('All patron categories' in existing rule)
   - Administration > Circulation and fines rules > Patron category column ('All patron categories' in drop-down to create a new rule)
   - Administration > Circulation and fines rules > Default waiting hold cancellation policy > Patron category column ('All patron categories' in existing rule)
   - Administration > Circulation and fines rules > Default waiting hold cancellation policy > Patron category column ('All patron categories' in drop-down to create a new rule)
   - Administration > Circulation and fines rules > Default article request fees > Patron category column ('All patron categories' in existing rule)
   - Administration > Circulation and fines rules > Default article request fees > Patron category column ('All patron categories' in drop-down to create a new rule)
   - Installer > Onboarding > New circulation rule (Patron category)
Comment 25 Hammat wele 2024-08-13 19:52:44 UTC
Created attachment 170283 [details] [review]
Bug 31736: Editing 'All' to 'All item types'

This patch edit the term 'All' to 'All item types', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All item types'
   --> No spelling errors in 'All item types'

   - Administration > Circulation and fines rules > Item types column ('All item types' in existing rule)
   - Administration > Circulation and fines rules > Item types column ('All item types' in drop-down to create a new rule)
   - Administration > Circulation and fines rules > Default waiting hold cancellation policy > Item types column ('All item types' in existing rule)
   - Administration > Circulation and fines rules > Default waiting hold cancellation policy > Item types column ('All item types' in drop-down to create a new rule)
   - Circulation > Hold queue > Item type > 'All item types' in Item type drop-down
   - Reports > Items lost > 'All item types' in Item type drop-down
   - Installer > Onboarding > New circulation rule (Item type)
Comment 26 Hammat wele 2024-08-13 19:52:47 UTC
Created attachment 170284 [details] [review]
Bug 31736: Editing 'All' to 'All shelving locations'

This patch edit the term 'All' to 'All shelving locations', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All shelving locations'
   --> No spelling errors in 'All shelving locations'
   - Circulation > Hold queue >  'All shelving locations' in Shelving location drop-down
Comment 27 Hammat wele 2024-08-13 19:52:51 UTC
Created attachment 170285 [details] [review]
Bug 31736: Editing 'All' to 'All lost statuses'

This patch edit the term 'All' to 'All lost statuses', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All lost statuses'
   --> No spelling errors in 'All lost statuses'
   - Reports > Items lost > 'All lost statuses' in Lost status drop-down
Comment 28 Hammat wele 2024-08-13 19:52:57 UTC
Created attachment 170286 [details] [review]
Bug 31736: Editing 'All' to 'All not for loan statuses'

This patch edit the term 'All' to 'All not for loan statuses', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All not for loan statuses'
   --> No spelling errors in 'All not for loan statuses'
   - Reports > Items lost > 'All not for loan statuses' in Not for loan drop-down
Comment 29 Hammat wele 2024-08-13 19:53:04 UTC
Created attachment 170287 [details] [review]
Bug 31736: Editing 'All' to 'All checkouts'

This patch edit the term 'All' to 'All checkouts', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All checkouts'
   --> No spelling errors in 'All checkouts'
   - Go to a patron profile who once took out a loan > Circulation history > 'All checkouts' in checkout tab
Comment 30 Hammat wele 2024-08-13 19:53:09 UTC
Created attachment 170288 [details] [review]
Bug 31736: Editing 'All' to 'All vendors'

This patch edit the term 'All' to 'All vendors', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. Create some Additional fields for Invoices and make it searchable
   2.1. Administration > Additional fields > Invoices > New fields
   2.2. Type a Name, select a Authorized value category, and check Searchable
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All vendors'
   --> No spelling errors in 'All vendors'
   - Acquisitions > Invoices > in the Search filters From the >> 'All vendors' in field drop-down
Comment 31 Hammat wele 2024-08-13 19:53:14 UTC
Created attachment 170289 [details] [review]
Bug 31736: Editing 'All' to 'Report dictionary areas'

This patch edit the term 'All' to 'Report dictionary areas', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'Report dictionary areas'
   --> No spelling errors in 'Report dictionary areas'
   - Reports > View dictionary > Add new definition > 'Report dictionary areas' should be in Filter by area drop-down
Comment 32 Hammat wele 2024-08-13 19:53:19 UTC
Created attachment 170290 [details] [review]
Bug 31736: Editing 'All' to 'All report groups'

This patch edit the term 'All' to 'All report groups', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. Reports > Create guided report
3. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All report groups'
   --> No spelling errors in 'All report groups'
   - Reports > Use saved  'All report groups' should be in a tab name
   - 'All report subgroups' should be in Subgroup drop-down
Comment 33 Hammat wele 2024-08-13 19:53:26 UTC
Created attachment 170291 [details] [review]
Bug 31736: Editing 'All' to 'All display locations'

This patch edit the term 'All' to 'All display locations', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All display locations'
   --> No spelling errors in 'All display locations'
   - Tools > News > 'All display locations' in Display location drop-down
   - Creation a new additional content, in Display location select Staff interface and OPAC
      --> in the Additional contents table the colunm Location should contant 'All display locations'
Comment 34 Hammat wele 2024-08-13 19:53:33 UTC
Created attachment 170292 [details] [review]
Bug 31736: Editing 'All' to 'All MARC fields'

This patch edit the term 'All' to 'All MARC fields', beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All MARC fields'
   --> No spelling errors in 'All MARC fields'
   - Cataloging > MARC modification templates > New template > New Action
      'All MARC fields' should be in the drop-down list
Comment 35 Hammat wele 2024-08-13 19:53:39 UTC
Created attachment 170293 [details] [review]
Bug 31736: Editing 'All' in viewlog.tt

This patch edit the term 'All' to 'All log modules',
All log actions and All log interfaces , beacause All can have different genders depending on the used language ( in french All could mean 'tous for 'male-gendered' things and 'toutes' for 'female-gendered' things).

1. Apply patch
2. View the following pages
   --> The pages work (no errors)
   --> 'All' should be replace by 'All log modules',
All log actions and All log interfaces
   --> No spelling errors in 'All log modules',
All log actions and All log interfaces
   - Tools > Log viewer > 'All log modules',
All log actions and All log interfaces should be displayed