Date: Mon, 22 Sep 2025 22:50:34 +0300 From: =?UTF-8?B?VmxhZGxlbiBQb3BvbGl0b3Y=?= <vladlenpopolitov@list.ru> To: =?UTF-8?B?RWRzb24gQnJhbmRp?= <ebrandi@freebsd.org> Cc: =?UTF-8?B?RnJlZWJzZCBUcmFuc2xhdG9ycw==?= <freebsd-translators@freebsd.org>, =?UTF-8?B?VmxhZGxlbiBQb3BvbGl0b3Y=?= <vladlen@freebsd.org> Subject: =?UTF-8?B?UmU6IEZyZWVic2Qgd2Vic2l0ZSB0cmFuc2xhdGlvbiB2aWEgV2VibGF0ZQ==?= Message-ID: <1758570634.312802991@f161.i.mail.ru> In-Reply-To: <CA%2BOTFJRi-QwgcaDBimyZizNaBDJSGUuwXG%2Bnvg8zuj2XAmTYrw@mail.gmail.com> References: <BY1P220MB191763BF798098A9676F44A0A83CA@BY1P220MB1917.NAMP220.PROD.OUTLOOK.COM> <1757414949.730725175@f101.i.mail.ru> <CA%2BOTFJRi-QwgcaDBimyZizNaBDJSGUuwXG%2Bnvg8zuj2XAmTYrw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Hi Edson, I prepared prototype to generate PO files and generate ADOC files for translations. I need some time to test these scripts. They are not production ready yet, it is version for discussion. Best regards Vladlen. >Среда, 17 сентября 2025, 18:58 +03:00 от Edson Brandi <ebrandi@freebsd.org>: > >Hi Vladlen, > >Can you please do the change to reduce the number of po files to 24 as >you mentioned above? >Based on my testing, attempting to add 132 different files, multiplied >by the number of languages we have in Weblate, will result in >performance issues on the actual server. >Once you have the files, we can configure them in Weblate :) > >Edson > >On Tue, Sep 9, 2025 at 11:49AM Vladlen Popolitov >< vladlenpopolitov@list.ru > wrote: >> >> >> Hi Edson >> >> Понедельник, 8 сентября 2025, 19:21 +03:00 от Edson Brandi < ebrandi@freebsd.org >: >> >> >> >> >> >> Have you already converted the website files to .po files? How many >> files do we need to import into Weblate to create this project? >> >> I used utility tools/update_translate_template.sh, but excluded files >> from directories website/content/en/status and website/content/en/releases. >> >> The result set was 132 adoc files, 4070 phrases in them (counted >> by ‘grep msgid’ in all po files), English text volume ~900K ( counted >> by wc for all po files — they have only English text). >> >> Many of these adoc files are small. I think it is possible to make >> - small modification in tools/update_translate_template.sh to generate 1 po file >> per directory (_indexdir.po), >> - small modification in tools/translate.sh to use _indexdir.po before looking for >> ‘filename.po’ when ‘filename.adoc’ is generated from po file. >> In this case we will have 1 po file for website root directory and 23 po files for all >> subdirectories. >> >> Vladlen. >> >> >> [-- Attachment #2 --] <HTML><BODY><div><div>Hi Edson,</div><div> </div><div> I prepared prototype to generate PO files and generate ADOC files for translations.</div><div>I need some time to test these scripts. They are not production ready yet, it is version</div><div>for discussion.</div><div> </div><div>Best regards</div><div> </div><div>Vladlen.<br> </div><div class="mail-quote-collapse"><blockquote style="border-left:1px solid #0857A6;margin:10px;padding:0 0 0 10px"><span>Среда, 17 сентября 2025, 18:58 +03:00 от Edson Brandi <ebrandi@freebsd.org>:</span><br> <div><div id=""><div class="js-helper js-readmsg-msg"><div><div id="style_17581247211112319616_BODY">Hi Vladlen,<br><br>Can you please do the change to reduce the number of po files to 24 as<br>you mentioned above?<br>Based on my testing, attempting to add 132 different files, multiplied<br>by the number of languages we have in Weblate, will result in<br>performance issues on the actual server.<br>Once you have the files, we can configure them in Weblate :)<br><br>Edson<br><br>On Tue, Sep 9, 2025 at 11:49AM Vladlen Popolitov<br><<a href="/compose?To=vladlenpopolitov@list.ru">vladlenpopolitov@list.ru</a>> wrote:<div class="mail-quote-collapse">><br>><br>> Hi Edson<br>><br>> Понедельник, 8 сентября 2025, 19:21 +03:00 от Edson Brandi <<a href="/compose?To=ebrandi@freebsd.org">ebrandi@freebsd.org</a>>:<br>><br>><br>><br>><br>><br>> Have you already converted the website files to .po files? How many<br>> files do we need to import into Weblate to create this project?<br>><br>> I used utility tools/update_translate_template.sh, but excluded files<br>> from directories website/content/en/status and website/content/en/releases.<br>><br>> The result set was 132 adoc files, 4070 phrases in them (counted<br>> by ‘grep msgid’ in all po files), English text volume ~900K ( counted<br>> by wc for all po files — they have only English text).<br>><br>> Many of these adoc files are small. I think it is possible to make<br>> - small modification in tools/update_translate_template.sh to generate 1 po file<br>> per directory (_indexdir.po),<br>> - small modification in tools/translate.sh to use _indexdir.po before looking for<br>> ‘filename.po’ when ‘filename.adoc’ is generated from po file.<br>> In this case we will have 1 po file for website root directory and 23 po files for all<br>> subdirectories.<br>><br>> Vladlen.<br>><br>><br>></div></div></div></div></div></div></blockquote></div><br><div data-signature-widget="container"><div data-signature-widget="content"><div><br> </div></div></div></div></BODY></HTML>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1758570634.312802991>
