[Koha-bugs] [Bug 35590] New: Add the translation of seasonal predictions for a chosen locale

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 18 15:53:11 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35590

            Bug ID: 35590
           Summary: Add the translation of seasonal predictions for a
                    chosen locale
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Serials
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: emily-rose.francoeur at inLibro.com
        QA Contact: testopia at bugs.koha-community.org

In “Manage Numbering Pattern” (in Serials), we have the possibility to test a
pattern with a specified locale. This works well for days and months (as their
translations are handled by DateTime()), but it doesn't work for seasons and
their abbreviations.

To reproduce the bug:
**I recommend using the "English" version of the staff interface, as the
translation for the prediction pattern with the staff interface locale doesn't
work well (see issues 20511 and 24172).**

1) Navigate to “Serials > Manage numbering patterns” and click on the “Edit”
button for the “Seasonal” pattern.
2) Under “Test prediction pattern”:
    - Set “First issue publication date” to today's date.
    - Set “Subscription length” to “issues” and input “4”.
    - Choose a language different from the one used in the staff interface for
“Locale” (so any language except English).
    - Set “Begins with” to 0 (for X) and 2023 (for Y).
3) Click on the “Test pattern” button.
    - Observe that the season names are still displayed in English.
4) In the first section of the page, within the table, change “Formatting” to
“Name of season (abbreviated)”.
5) Click on the “Test pattern” button.
    - Observe that the season names are still displayed in English.
6) Navigate to a record detail page and click on "+ New" and then "New
subscription".
7) Click on the “Next ->” button and then “OK”.
8) Fill in the following fields:
    - Set “First issue publication date” to today's date.
    - Set “Frequency” to your preference.
    - Set “Subscription length” to “issues” and input “4”.
    - Set “Subscription start date” to today's date.
    - Select “Seasonal” for “Numbering pattern”.
    - Choose a language different from the one used in the staff interface for
“Locale” (so any language except English).
    - Set “Begins with” to 0 (for Season) and 2023 (for Year).
9) Click on the “Test pattern” button.
    - Observe that the season names are still displayed in English.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list