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

Bernardo Gonzalez Kriegel bgkriegel at gmail.com
Mon May 9 21:41:30 CEST 2022


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


On Mon, May 9, 2022 at 2:46 PM Mike D. <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/) 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> 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/
>> and used to replace the ones at
>>   /usr/share/koha/misc/translator/po/
>>
>> Is that possible?
>>
>> Bernardo
>>
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-translate/attachments/20220509/d86b9d5e/attachment.htm>


More information about the Koha-translate mailing list