[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: Web Translation tool
From: Yaron Shahrabani <sh.yaron () gmail ! com>
Date: 2024-04-05 17:38:10
Message-ID: CACVjhxW8B_O-N4yM1srn10=6kpN3QmC_-mQ1U9Pfu8j8XLLMEg () mail ! gmail ! com
[Download RAW message or body]
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 Łukasz Wojniłowicz, <lukasz.wojnilowicz@gmail.com>
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,
> Łukasz
>
> On Mon, 1 Apr 2024 14:18:50 +0300
> Yaron Shahrabani <sh.yaron@gmail.com> wrote:
>
> > Hey,
> > This is the diagram:
> >
> > Local copy Template copy
> > ┌──────────────────────┐ \
> > ┌─────────────────────────────┐ │ \
> > alpaka.po │ │ alpaka.pot │ │ │ \
> > │ │ │ alpaka._desktop_.po │ │ alpaka._desktop_.pot \
> > │ │ │ │ │
> > │ │ │ org.kde.alpaka.metainfo.pot│
> >
> > └──────────────────────┘ \
> > └─────────────────────────────┘
> > 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
> >
> > <DevOps - Hebrew translator>
> >
> >
> >
> > On Mon, Apr 1, 2024 at 10:46 AM Łukasz Wojniłowicz <
> > lukasz.wojnilowicz@gmail.com> wrote:
> >
> > > Hi, and no problem.
> > >
> > > On Sun, 31 Mar 2024 12:22:23 +0300
> > > Yaron Shahrabani <sh.yaron@gmail.com> 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,
> > > Łukasz
> > >
>
[Attachment #3 (text/html)]
<div dir="auto">I failed to explain. <div dir="auto">I can update the existing po files with the pot \
equivalent from the templates.</div><div dir="auto">But if the po file is missing, bit there is a pot \
file it won't be created automatically. </div><div dir="auto">Does that make \
sense?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 2 Apr 2024, \
20:59 Łukasz Wojniłowicz, <<a \
href="mailto:lukasz.wojnilowicz@gmail.com">lukasz.wojnilowicz@gmail.com</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hi,<br> <br>
do you know that you can svn checkout<br>
svn+ssh://<a href="http://svn@svn.kde.org/home/kde/trunk/l10n-kf6/templates" rel="noreferrer noreferrer" \
target="_blank">svn@svn.kde.org/home/kde/trunk/l10n-kf6/templates</a> for the<br> right side of your \
picture and have it updated automatically afterwards?<br> Templates are common for all languages.<br>
<br>
Cheers,<br>
Łukasz<br>
<br>
On Mon, 1 Apr 2024 14:18:50 +0300<br>
Yaron Shahrabani <<a href="mailto:sh.yaron@gmail.com" target="_blank" \
rel="noreferrer">sh.yaron@gmail.com</a>> wrote:<br> <br>
> Hey,<br>
> This is the diagram:<br>
> <br>
> Local copy Template copy<br>
> ┌──────────────────────┐ \
┌─────────────────────────────┐<br> > \
│ alpaka.po │ │ alpaka.pot │<br> > \
│ │ │ \
│<br> > │ alpaka._desktop_.po │ │ alpaka._desktop_.pot \
│<br> > │ │ │ \
│<br> > │ │ │ \
org.kde.alpaka.metainfo.pot│<br> > <br>
> └──────────────────────┘ \
└─────────────────────────────┘<br> > \
<br> > Let's assume that I translated the part on the left and these files<br>
> are 100% complete, when I'm updating my local copy against the SVN<br>
> I'm not getting any new updates unless scripty merged them with their<br>
> corresponding POT files.<br>
> For existing files, it works great, but if I have new files (in the<br>
> templates) I can't fetch them automatically unless I'm either<br>
> fetching them manually from the templates or looking at the UI and<br>
> finding that there are missing strings in an app I've already fully<br>
> translated.<br>
> <br>
> I hope it makes sense.<br>
> Yaron Shahrabani<br>
> <br>
> <DevOps - Hebrew translator><br>
> <br>
> <br>
> <br>
> On Mon, Apr 1, 2024 at 10:46 AM Łukasz Wojniłowicz <<br>
> <a href="mailto:lukasz.wojnilowicz@gmail.com" target="_blank" \
rel="noreferrer">lukasz.wojnilowicz@gmail.com</a>> wrote: <br> > <br>
> > Hi, and no problem.<br>
> ><br>
> > On Sun, 31 Mar 2024 12:22:23 +0300<br>
> > Yaron Shahrabani <<a href="mailto:sh.yaron@gmail.com" target="_blank" \
rel="noreferrer">sh.yaron@gmail.com</a>> wrote:<br> > > <br>
> > > Hi, and thank you for your patience and for going deeper into this<br>
> > > with me. This is what I'm experiencing (Hypothetically because I<br>
> > > can't remember where it was precisely):<br>
> > > Several months ago, I downloaded a package with 3 POT files.<br>
> > > Several months later, a fourth file appeared (usually the _json<br>
> > > one). <br>
> ><br>
> > A package like a tarball?<br>
> > <br>
> > > My local repo appears complete, and there's no way for me to know<br>
> > > that there's a new POT file just by syncing my copy. I either<br>
> > > need to look at the web UI or make a comparison with the<br>
> > > templates. <br>
> ><br>
> > Have you already tried using projects in Lokalize and "svn<br>
> > update" command on templates (aka POT files)?<br>
> > <br>
> > > I can indeed write a script to solve that but given the time I can<br>
> > > spend, I'd instead look at the web UI and solve this manually.<br>
> > > Localization platforms inform you when a new module/file is<br>
> > > added, so you don't need to check manually in addition to all the<br>
> > > other operations that don't require any manual involvement. <br>
> ><br>
> > Cheers,<br>
> > Łukasz<br>
> > <br>
</blockquote></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic