[Koha-translate] Is possible to generate .po files more often?

Fridolin SOMERS fridolin.somers at biblibre.com
Mon May 9 22:01:12 CEST 2022


Hi,

Translation is really important for Koha worldwide community.
Thanks a lot for your work.

Best regards,

Le 09/05/2022 à 09:46, Mike D. a écrit :
> Hi Bernardo,
> Thank you very much for this enhancement. It will save us time and 
> simplify our translation work. I believe it will work great. If I run 
> into any problems, I'll let you know.
> 
> Thanks again.
> 
> Have a good day
> 
> Michal
> KohaCZ
> 
> po 9. 5. 2022 v 21:41 odesílatel Bernardo Gonzalez Kriegel 
> <bgkriegel at gmail.com <mailto:bgkriegel at gmail.com>> napsal:
> 
>     Hi Michal,
>     there was no specific moment for the update of the exported files,
>     normally when we need to *sync* the files before adding a new
>     project, or every time a release maintainer needs to update the
>     translation files before a release.
> 
>     I have added a cron job to sync the files once a day at 00:00 UTC.
> 
>     Bernardo
> 
> 
> 
> 
> 
>     -- 
>     Bernardo Gonzalez Kriegel
>     bgkriegel at gmail.com <mailto:bgkriegel at gmail.com>
> 
> 
>     On Mon, May 9, 2022 at 2:46 PM Mike D. <black23 at gmail.com
>     <mailto:black23 at gmail.com>> wrote:
> 
>         Hi Bernardo,
>         you've described exactly the procedure we use. Today I was
>         chatting on IRC with Cait and we were unable to find out how
>         often the .po files are generated. For Koha 21.11, which I am
>         now actively translating, the generation occurred on Friday 6/5
>         and today 9/5. Does this mean that the script does this every
>         day? Or is the frequency different?
>         We have a script that downloads .po files from Pootle (for
>         example https://translate.koha-community.org/export/21.11/cs/
>         <https://translate.koha-community.org/export/21.11/cs/>) and
>         replaces the files on our Koha server disk. For this to work
>         well though, we need to know how often the files in
>         /export/version/cs change. Ideally this would be once a day.
>         That would be perfect.
>         Thank you
> 
>         Michal
> 
>         po 9. 5. 2022 v 19:07 odesílatel Bernardo Gonzalez Kriegel
>         <bgkriegel at gmail.com <mailto:bgkriegel at gmail.com>> napsal:
> 
>             Hi Michal,
> 
>                 we are working on how to efficiently fix (hotfix)
>                 translations on production servers with Koha. Generating
>                 .po files on package release seems slow to us. For
>                 active languages, would it be possible to generate .po
>                 files more frequently, e.g. daily? This would help us a lot.
> 
> 
>             one possible workflow would be to translate on the
>             translation server, and then download the updated
>             translation files to replace the ones that come in the packages.
> 
>             For example, for version 20.05 and CS language, the files
>             can be downloaded from
>             https://translate.koha-community.org/export/20.05/cs/
>             <https://translate.koha-community.org/export/20.05/cs/>
>             and used to replace the ones at
>                /usr/share/koha/misc/translator/po/
> 
>             Is that possible?
> 
>             Bernardo
> 
> 
> 
> 
> _______________________________________________
> Koha-translate mailing list
> Koha-translate at lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-translate
> website: www.koha-community.org
> git: git.koha-community.org
> bugs: bugs.koha-community.org

-- 
Fridolin SOMERS <fridolin.somers at biblibre.com>
Software and system maintainer 🦄
BibLibre, France


More information about the Koha-translate mailing list