Re: Italian building process runs on an old version

Andreas Heigl <[email protected]>
Newsgroups gmane.comp.php.documentation.general
Message-ID <[email protected]>
Hey Peter

Am 05.02.21 um 11:52 schrieb Peter Cowburn:
> On Fri, 5 Feb 2021 at 10:39, Andreas Heigl <[email protected]> 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:[email protected]                  N 50°22'59.5" E 08°23'58" |
| https://andreas.heigl.org                                           |
+---------------------------------------------------------------------+
| https://hei.gl/appointmentwithandreas                               |
+---------------------------------------------------------------------+
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOHo7et0VdZk8RJK34Ff+SCK3tkUFAmAdJK0ACgkQ4Ff+SCK3
tkXHSQ//f4Etk8C9vbAicgbnFiMbs30H2kVXZiF3rxm+/szzZIPPOsH6RGm5bMZO
LOysL2bofOhwVRwlDKwt5Fkj/Sh5KFn1bNqMQ6tvhKpUKEdCxlPaBYyRo4vMIATo
l3lNNkxEukplzSrj+p1BMEJyWcgR70cn7hf1KP1hozkPNIUuHstpwY2eYVOdXmHm
pUpbulZeED4Eky/D/oN8XAkmpVTl90V4tKQsms7cAV8LV6Ie31P+woWkic5l7WM5
m3lDqWHRBX5LqS5JlTNWF4UiLeZgo5OFcLaQEN0cOELrTlKB2WOOQwZxmpYYAQ8u
80Hzy6RDzY0O2GtqerHP7jm4SRxRkA377w+MFsSd3ZNkTYw5aC4oO7jstuWi5a/X
B4U8h1pDCiuulI6Cd+m9c57dHVblAJEp79kxsJ1OYHW7l1XojNre5FYTYr4pNDER
rnKOb1Efj+mdSBiMcpQ+92L9ft4j9ov0yLFJsFZqxqE2u3z5kWZ5LmajB2HLK0M2
fvUKM3MnFKNh9Q7TzKNcp3ASecT8pSHXNp4UAPDbnaYY4nr9uMW+5jFngTThwmS6
wvZyVgGNjvdcuG9lFufOlRhcfYMZ5NH8sCshsyRw1Nbo63qJ9XAF67P0e5vqWbk8
nx8WrAyS8hNqQoD11hHX/1hDnVu4audlTm43cso/vjGULJjEO0w=
=lTmo
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.