[Koha-bugs] [Bug 24871] Add new *-installer-*.po translation files

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 22 00:46:30 CEST 2020


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

--- Comment #10 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Author: Bernardo González Kriegel <gonzalez at di.unc.edu.ar>
Date:   Sun Mar 15 18:15:32 2020 -0300

    Bug 24871: Add new *-installer*.po translation files

    This patch simply adds new po files for each supported
    language.

    The are not created on update, so the need to add this files.

    To test:

    1) Count the number of po files of your preferred language (replace XX)
         ls misc/translator/po/XX-*po | wc -l
    2) You should have 8 of them
    3) Update it and recount
         (cd misc/translator/; ./translate update XX); ls
misc/translator/po/XX-*.po | wc -l
    4) still 8, it means that the update process doesn't add new po files
    5) Re-create the language
         (cd misc/translator/; rm -f po/XX-*.po; ./translate create XX);
    6) recount: ls misc/translator/po/XX-*po | wc -l
    7) It's 10
    8) note: it means that the creation process adds new po files
    9) restore to a clean state
       git restore misc/translator/po/
       rm misc/translator/po/eo-installer-MARC21.po
misc/translator/po/eo-installer.po
    10) manually apply the patch (because it's too big to be directly here)
        1) download
        2) extact the xz file
        3) apply it
        4) git am
0001-Bug-24871-Add-new-installer-.po-translation-files.patch-1
    11) check the modification time of the installer .po files of your
preferred language
          ls -l misc/translator/po/XX-installer*
    12) note: this also checks for their presence, which is what this patch
          actually does, only adding the installer po files
    13) Update your preferred language
          (cd misc/translator/; ./translate update XX);
    14) check the modification time
          ls -l misc/translator/po/XX-installer*
    15) It should have been updated, so everything still works correcly :D

    Pre-filled translations for some languages
    (https://translate.koha-community.org/projects/marc21/)

    Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

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


More information about the Koha-bugs mailing list