Re: [Tiki-devel] problems with i18n.tiki.org & using *.po files
bruno kambere <[email protected]> Wed, 25 Mar 2026 15:26:37 +0300
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <CAESqj749Sh57nXg0_btWaiQJUZ4bFYc0Zz4qwxVpYyZDZ5AXUQ@mail.gmail.com> |
--===============5738510784458499556== Content-Type: multipart/alternative; boundary="000000000000511487064dd8637a" --000000000000511487064dd8637a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Gour, About *"How was that generated?"*: there's a Tiki script that does that: https://gitlab.com/tikiwiki/tiki/-/blob/master/doc/devtools/commit_translat= ions_by_lang.php It's run via Tiki Scheduler (https://doc.tiki.org/Scheduler) every few days on https://i18n.tiki.org Also, when you contribute translations directly on https://i18n.tiki.org, they are stored in the database, and the scheduler periodically exports them into files (which is how that MR was generated). For *"how to submit it back via PR/MR?"*, here is the translation-specific process: - https://dev.tiki.org/Creating-or-maintaining-translations - https://dev.tiki.org/Git-Workflow (how contribute to the Tiki GitLab repository) Alternatively, you can upload a JSON translation file via "Settings -> Edit languages -> Upload Translations" Or continue using the interactive translation interface. Best, Bruno On Tue, Mar 24, 2026 at 3:58=E2=80=AFPM Sa=C5=A1a Jani=C5=A1ka via TikiWiki= -devel < [email protected]> wrote: > On Tue, 24 Mar 2026 14:48:08 +0300 > bruno kambere <[email protected]> > wrote: > > Hiya Bruno! > > > Thanks for digging into the translation process. > > It is for very selfish reason - my own needs. ;-) > > > Just to clarify: the documentation will be updated, it should say > > "Settings -> Edit languages" (not "Control Panel"). > > OK. > > > Regarding your first screenshot after clicking "Start translation": > > you=E2=80=99re actually in the right place. It opens a pop-up where you= can > > add translations, as shown in this short demo (quality isn=E2=80=99t gr= eat, > > but it illustrates the flow): > > https://tiki.org/How-to-use-i18n.tiki.org#Using_interactive_translation > > > > OK. > > > About your second screenshot: that looks like an issue, we=E2=80=99ll r= eport > > and fix it. > > Thank you! > > > And thanks for your Croatian translations already submitted via this > > MR: https://gitlab.com/tikiwiki/tiki/-/merge_requests/9824 > > How was that generated? > > Btw, with the help of AI, I got a Python script to convert from/to > Tiki/po and then loaded Croatian translation into poedit. > > By using LLM, I do translate and when I finish the whole translation I > plan to do fine tuning in poedit and possibly to check whether the > context is relevant. Moreover, I'll try to bring some consistency to > the whole translation. > > Then, I'll with the help of the script will convert it back to the Tiki > format, but the question remains how to submit it back to the Tiki via > PR/MR ? > > > Sincerely, > Gour > > -- > As a strong wind sweeps away a boat on the water, > even one of the roaming senses on which the mind > focuses can carry away a man's intelligence. > > > > > > _______________________________________________ > TikiWiki-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel > --000000000000511487064dd8637a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">Hi Gour,<br><br>About <b>"How was th= at generated?"</b>: there's a Tiki script that does that: <a href= =3D"https://gitlab.com/tikiwiki/tiki/-/blob/master/doc/devtools/commit_tran= slations_by_lang.php">https://gitlab.com/tikiwiki/tiki/-/blob/master/doc/de= vtools/commit_translations_by_lang.php</a><br><br>It's run via Tiki Sch= eduler (<a href=3D"https://doc.tiki.org/Scheduler">https://doc.tiki.org/Sch= eduler</a>) every few days on <a href=3D"https://i18n.tiki.org">https://i18= n.tiki.org</a><br><br>Also, when you contribute translations directly on <a= href=3D"https://i18n.tiki.org">https://i18n.tiki.org</a>, they are stored = in the database, and the scheduler periodically exports them into files (wh= ich is how that MR was generated).<br><br>For <b>"how to submit it bac= k via PR/MR?"</b>, here is the translation-specific process:<br><br><u= l><li><a href=3D"https://dev.tiki.org/Creating-or-maintaining-translations"= >https://dev.tiki.org/Creating-or-maintaining-translations</a></li><li><a h= ref=3D"https://dev.tiki.org/Git-Workflow">https://dev.tiki.org/Git-Workflow= </a> (how contribute to the Tiki GitLab repository)</li></ul><br>Alternativ= ely, you can upload a JSON translation file via "Settings -> Edit l= anguages -> Upload Translations" Or continue using the interactive = translation interface.<br><br>Best,<br>Bruno</div><br><div class=3D"gmail_q= uote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, M= ar 24, 2026 at 3:58=E2=80=AFPM Sa=C5=A1a Jani=C5=A1ka via TikiWiki-devel &l= t;<a href=3D"mailto:[email protected]">tikiwiki-devel@li= sts.sourceforge.net</a>> wrote:<br></div><blockquote class=3D"gmail_quot= e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)= ;padding-left:1ex">On Tue, 24 Mar 2026 14:48:08 +0300<br> bruno kambere <<a href=3D"mailto:[email protected]" target=3D"_blan= k">[email protected]</a>><br> wrote:<br> <br> Hiya Bruno!<br> <br> > Thanks for digging into the translation process.=C2=A0 <br> <br> It is for very selfish reason - my own needs. ;-)<br> <br> > Just to clarify: the documentation will be updated, it should say<br> > "Settings -> Edit languages" (not "Control Panel&quo= t;).=C2=A0 =C2=A0 <br> <br> OK.<br> <br> > Regarding your first screenshot after clicking "Start translation= ":<br> > you=E2=80=99re actually in the right place. It opens a pop-up where yo= u can<br> > add translations, as shown in this short demo (quality isn=E2=80=99t g= reat,<br> > but it illustrates the flow):<br> > <a href=3D"https://tiki.org/How-to-use-i18n.tiki.org#Using_interactive= _translation" rel=3D"noreferrer" target=3D"_blank">https://tiki.org/How-to-= use-i18n.tiki.org#Using_interactive_translation</a><br> >=C2=A0 <br> <br> OK.<br> <br> > About your second screenshot: that looks like an issue, we=E2=80=99ll = report<br> > and fix it.=C2=A0 <br> <br> Thank you!<br> <br> > And thanks for your Croatian translations already submitted via this<b= r> > MR: <a href=3D"https://gitlab.com/tikiwiki/tiki/-/merge_requests/9824"= rel=3D"noreferrer" target=3D"_blank">https://gitlab.com/tikiwiki/tiki/-/me= rge_requests/9824</a>=C2=A0 <br> <br> How was that generated?<br> <br> Btw, with the help of AI, I got a Python script to convert from/to<br> Tiki/po and then loaded Croatian translation into poedit.<br> <br> By using LLM, I do translate and when I finish the whole translation I<br> plan to do fine tuning in poedit and possibly to check whether the<br> context is relevant. Moreover, I'll try to bring some consistency to<br= > the whole translation.<br> <br> Then, I'll with the help of the script will convert it back to the Tiki= <br> format, but the question remains how to submit it back to the Tiki via<br> PR/MR ?<br> <br> <br> Sincerely,<br> Gour<br> <br> -- <br> As a strong wind sweeps away a boat on the water,<br> even one of the roaming senses on which the mind<br> focuses can carry away a man's intelligence.<br> <br> <br> <br> <br> <br> _______________________________________________<br> TikiWiki-devel mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">T= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel" rel= =3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listi= nfo/tikiwiki-devel</a><br> </blockquote></div><div><br clear=3D"all"></div><div><br></div></div> --000000000000511487064dd8637a-- --===============5738510784458499556== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============5738510784458499556== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel --===============5738510784458499556==--