From kde-i18n-doc Fri Apr 05 17:38:10 2024 From: Yaron Shahrabani Date: Fri, 05 Apr 2024 17:38:10 +0000 To: kde-i18n-doc Subject: Re: Web Translation tool Message-Id: X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=171233856523388 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--00000000000016da9806155cec59" --00000000000016da9806155cec59 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I failed to explain. I can update the existing po files with the pot equivalent from the templates. But if the po file is missing, bit there is a pot file it won't be created automatically. Does that make sense? On Tue, 2 Apr 2024, 20:59 =C5=81ukasz Wojni=C5=82owicz, wrote: > Hi, > > do you know that you can svn checkout > svn+ssh://svn@svn.kde.org/home/kde/trunk/l10n-kf6/templates for the > right side of your picture and have it updated automatically afterwards? > Templates are common for all languages. > > Cheers, > =C5=81ukasz > > On Mon, 1 Apr 2024 14:18:50 +0300 > Yaron Shahrabani wrote: > > > Hey, > > This is the diagram: > > > > Local copy Template copy > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =90 =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=90 > > =E2=94=82 alpaka.po =E2=94=82 =E2=94=82 alpak= a.pot =E2=94=82 > > =E2=94=82 =E2=94=82 =E2=94=82 = =E2=94=82 > > =E2=94=82 alpaka._desktop_.po =E2=94=82 =E2=94=82 alpak= a._desktop_.pot =E2=94=82 > > =E2=94=82 =E2=94=82 =E2=94=82 = =E2=94=82 > > =E2=94=82 =E2=94=82 =E2=94=82 org.k= de.alpaka.metainfo.pot=E2=94=82 > > > > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =98 =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=98 > > > > Let's assume that I translated the part on the left and these files > > are 100% complete, when I'm updating my local copy against the SVN > > I'm not getting any new updates unless scripty merged them with their > > corresponding POT files. > > For existing files, it works great, but if I have new files (in the > > templates) I can't fetch them automatically unless I'm either > > fetching them manually from the templates or looking at the UI and > > finding that there are missing strings in an app I've already fully > > translated. > > > > I hope it makes sense. > > Yaron Shahrabani > > > > > > > > > > > > On Mon, Apr 1, 2024 at 10:46=E2=80=AFAM =C5=81ukasz Wojni=C5=82owicz < > > lukasz.wojnilowicz@gmail.com> wrote: > > > > > Hi, and no problem. > > > > > > On Sun, 31 Mar 2024 12:22:23 +0300 > > > Yaron Shahrabani wrote: > > > > > > > Hi, and thank you for your patience and for going deeper into this > > > > with me. This is what I'm experiencing (Hypothetically because I > > > > can't remember where it was precisely): > > > > Several months ago, I downloaded a package with 3 POT files. > > > > Several months later, a fourth file appeared (usually the _json > > > > one). > > > > > > A package like a tarball? > > > > > > > My local repo appears complete, and there's no way for me to know > > > > that there's a new POT file just by syncing my copy. I either > > > > need to look at the web UI or make a comparison with the > > > > templates. > > > > > > Have you already tried using projects in Lokalize and "svn > > > update" command on templates (aka POT files)? > > > > > > > I can indeed write a script to solve that but given the time I can > > > > spend, I'd instead look at the web UI and solve this manually. > > > > Localization platforms inform you when a new module/file is > > > > added, so you don't need to check manually in addition to all the > > > > other operations that don't require any manual involvement. > > > > > > Cheers, > > > =C5=81ukasz > > > > --00000000000016da9806155cec59 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I failed to explain.=C2=A0
I can update = the existing po files with the pot equivalent from the templates.
But if the po file is missing, bit there is a pot file it won= 't be created automatically.=C2=A0
Does that mak= e sense?

On Tue, 2 Apr 2024, 20:59 =C5=81ukasz Wojni=C5=82owicz, <= ;lukasz.wojnilowicz@gmail.c= om> wrote:
Hi,

do you know that you can svn checkout
svn+ssh://svn@svn.kde.org/home/kd= e/trunk/l10n-kf6/templates for the
right side of your picture and have it updated automatically afterwards? Templates are common for all languages.

Cheers,
=C5=81ukasz

On Mon, 1 Apr 2024 14:18:50 +0300
Yaron Shahrabani <sh.yaron@gmail.com> wrote:

> Hey,
> This is the diagram:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Local copy=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Template copy
>=C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=90=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=8C=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=90
>=C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=82=C2=A0 alpaka.po=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0=E2=94=82=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94= =82=C2=A0 alpaka.pot=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0=E2=94=82
>=C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=82=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=94=82=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0=E2=94=82=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=82
>=C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=82=C2=A0 alpaka._desktop_.po =E2=94= =82=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=82=C2=A0 alpaka._desktop_.pot= =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=82
>=C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=82=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=94=82=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0=E2=94=82=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=82
>=C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=82=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=94=82=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0=E2=94=82=C2=A0 org.kde.alpaka.metainfo.pot=E2=94=82
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=98=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=94=94=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=98
>
> Let's assume that I translated the part on the left and these file= s
> are 100% complete, when I'm updating my local copy against the SVN=
> I'm not getting any new updates unless scripty merged them with th= eir
> corresponding POT files.
> For existing files, it works great, but if I have new files (in the > templates) I can't fetch them automatically unless I'm either<= br> > fetching them manually from the templates or looking at the UI and
> finding that there are missing strings in an app I've already full= y
> translated.
>
> I hope it makes sense.
> Yaron Shahrabani
>
> <DevOps - Hebrew translator>
>
>
>
> On Mon, Apr 1, 2024 at 10:46=E2=80=AFAM =C5=81ukasz Wojni=C5=82owicz &= lt;
> lukasz.wojnilowicz@gmail.com> wrote:=C2=A0
>
> > Hi, and no problem.
> >
> > On Sun, 31 Mar 2024 12:22:23 +0300
> > Yaron Shahrabani <sh.yaron@gmail.com> wrote:
> >=C2=A0
> > > Hi, and thank you for your patience and for going deeper int= o this
> > > with me. This is what I'm experiencing (Hypothetically b= ecause I
> > > can't remember where it was precisely):
> > > Several months ago, I downloaded a package with 3 POT files.=
> > > Several months later, a fourth file appeared (usually the _j= son
> > > one).=C2=A0
> >
> > A package like a tarball?
> >=C2=A0
> > > My local repo appears complete, and there's no way for m= e to know
> > > that there's a new POT file just by syncing my copy. I e= ither
> > > need to look at the web UI or make a comparison with the
> > > templates.=C2=A0
> >
> > Have you already tried using projects in Lokalize and "svn > > update" command on templates (aka POT files)?
> >=C2=A0
> > > I can indeed write a script to solve that but given the time= I can
> > > spend, I'd instead look at the web UI and solve this man= ually.
> > > Localization platforms inform you when a new module/file is<= br> > > > added, so you don't need to check manually in addition t= o all the
> > > other operations that don't require any manual involveme= nt.=C2=A0
> >
> > Cheers,
> > =C5=81ukasz
> >=C2=A0
--00000000000016da9806155cec59--