Re: Italian building process runs on an old version
| From: | Andreas Heigl | Date: | Fri, 05 Feb 2021 10:57:49 +0000 |
| Subject: | Re: Italian building process runs on an old version | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969387846@lists.php.net to get a copy of this message | ||
Hey Peter
Am 05.02.21 um 11:52 schrieb Peter Cowburn:
> On Fri, 5 Feb 2021 at 10:39, Andreas Heigl <andreas@heigl.org> wrote:
>
>> Hey Davide.
>>
>> Am 05.02.21 um 10:43 schrieb Davide Pastore:
>>> Hi,
>>>
>>> we're facing some issues in the Italian documentation since we keep on
>>> receiving emails with misleading errors
>>> <https://news-web.php.net/php.doc.it/2815> on our
>>> mailing list. Could
>> you
>>> please check it? The issue is the same reported here
>>> <https://news-web.php.net/php.doc/969387814>. How
>>> can we fix this?
>>
>> As italian is not considered an active translation, the italian git-repo
>> is not updated in an automated way.
>>
>> We would need to rewrite the way the translations are updated.
>>
>> I can see to it, but on the other hand the question stands why we want
>> to invest energy into updating a translation that is considered inactive
>> and therefore will not show up on the PHP-Website.
>>
>> So either we rewrite the way translations are updated, or we upgrade
>> italian to an active translation.
>>
>
> The docs server is supposed to build both "active" and "inactive"
> translations. The marker for what *doesn't* get built on the docs server
> is *(supposed to be) the "broken-language.txt" file in a translation. That
> way, the docs server can build and render "inactive" translations, so
> translators can work on moving towards the "active" status without building
> and rendering for the main website. That has been the process since
> "forever", has it changed?
I can't actually ell you as I never knew about that process :-)
But I have changed it in so far, that I rewrote the loop which
translations are updated from iterating over the folder-list to
iterating over the ACTIVE_TRANSLATIONS array.
Looks like that was a mistake which I will then fix later today on the
docs server.
This will then require manually cloning a new language repo into the
appropriate folder when another language shall be added.
Cheers
Andreas
--
,,,
(o o)
+---------------------------------------------------------ooO-(_)-Ooo-+
| Andreas Heigl |
| mailto:andreas@heigl.org N
50°22'59.5" E 08°23'58" |
| https://andreas.heigl.org
|
+---------------------------------------------------------------------+
| https://hei.gl/appointmentwithandreas
|
+---------------------------------------------------------------------+
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc