[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-01 11:18:50
Message-ID: CACVjhxUih_inRrNm3ng2s5bYE_xW9scNLY2DJMSA6+0d7voFLQ () mail ! gmail ! com
[Download RAW message or body]

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="ltr"><div class="gmail_default" \
style="font-family:tahoma,sans-serif">Hey,</div><div class="gmail_default" \
style="font-family:tahoma,sans-serif">This is the diagram:</div><br><div \
class="gmail_default" style="font-family:tahoma,sans-serif"><span \
style="font-family:monospace">            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>         \
└──────────────────────┘    \
└─────────────────────────────┘ \
</span>        <br><br></div><div class="gmail_default" \
style="font-family:tahoma,sans-serif">Let&#39;s assume that I translated \
the part on the left and these files are 100% complete, when I&#39;m \
updating my local copy against the SVN I&#39;m not getting any new updates \
unless scripty merged them with their corresponding POT files.</div><div \
class="gmail_default" style="font-family:tahoma,sans-serif">For existing \
files, it works great, but if I have new files (in the templates) I \
can&#39;t fetch them automatically unless I&#39;m either fetching them \
manually from the templates or looking at the UI and finding that there are \
missing strings in an app I&#39;ve already fully translated.</div><div \
class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div \
class="gmail_default" style="font-family:tahoma,sans-serif">I hope it makes \
sense.<br clear="all"></div><div><div dir="ltr" class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><span style="font-size:large"><span \
style="font-family:georgia,serif"><font \
color="#990000">Yaron</font></span><font color="#330000"><span \
style="font-family:georgia,serif"> <font size="4"><span \
style="font-family:times new \
roman,serif">Shahrabani</span></font></span></font></span><blockquote \
style="margin:0 0 0 40px;border:none;padding:0px"><div><font \
color="#666666"><span style="font-size:x-small"><font \
color="#FF0000">&lt;</font></span><font size="2"><span \
style="font-family:monospace">DevOps</span> - <span \
style="font-family:garamond,serif">Hebrew translator</span></font><span \
style="font-size:x-small"><font \
color="#FF0000">&gt;</font></span></font></div></blockquote></div></div></div></div></div></div></div><br></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 1, 2024 \
at 10:46 AM Łukasz Wojniłowicz &lt;<a \
href="mailto:lukasz.wojnilowicz@gmail.com" \
target="_blank">lukasz.wojnilowicz@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, and no \
problem.<br> <br>
On Sun, 31 Mar 2024 12:22:23 +0300<br>
Yaron Shahrabani &lt;<a href="mailto:sh.yaron@gmail.com" \
target="_blank">sh.yaron@gmail.com</a>&gt; wrote:<br> <br>
&gt; Hi, and thank you for your patience and for going deeper into this<br>
&gt; with me. This is what I&#39;m experiencing (Hypothetically because \
I<br> &gt; can&#39;t remember where it was precisely):<br>
&gt; Several months ago, I downloaded a package with 3 POT files. \
Several<br> &gt; months later, a fourth file appeared (usually the _json \
one).<br> <br>
A package like a tarball?<br>
<br>
&gt; My local repo appears complete, and there&#39;s no way for me to know \
that<br> &gt; there&#39;s a new POT file just by syncing my copy. I either \
need to look<br> &gt; at the web UI or make a comparison with the \
templates.<br> <br>
Have you already tried using projects in Lokalize and &quot;svn<br>
update&quot; command on templates (aka POT files)?<br>
<br>
&gt; I can indeed write a script to solve that but given the time I can<br>
&gt; spend, I&#39;d instead look at the web UI and solve this manually.<br>
&gt; Localization platforms inform you when a new module/file is added, \
so<br> &gt; you don&#39;t need to check manually in addition to all the \
other<br> &gt; operations that don&#39;t require any manual \
involvement.<br> <br>
Cheers,<br>
Łukasz<br>
</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic