Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2023 14:15:41 -0300
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>
Cc:        translators@freebsd.org
Subject:   Re: Lost translation
Message-ID:  <718f9e2f-3997-4db0-8ad0-fa2d63de7834@app.fastmail.com>
In-Reply-To:  <CAGwOe2YH91sufT9DLbD_sE3OciK5iTue0aOjDX7-rdiUwatPag@mail.gmail.com>
References:   <CAGwOe2Zp=AnJzeojujQo8FaKBEfKmHfQ50rAFygz0uEuEs%2BgoQ@mail.gmail.com> <ffbb9cb2-b4cf-4084-a370-a9899e2b1438@app.fastmail.com> <CAGwOe2YH91sufT9DLbD_sE3OciK5iTue0aOjDX7-rdiUwatPag@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--6c11dbf1027a4a2cb598cd4eb39a669e
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable



On Sun, Jul 16, 2023, at 14:06, Fernando Apestegu=C3=ADa wrote:
>=20
>=20
> On Sun, Jul 16, 2023 at 6:21=E2=80=AFPM Danilo G. Baio <dbaio@freebsd.=
org> wrote:
>> __
>>=20
>>=20
>> On Sun, Jul 16, 2023, at 11:39, Fernando Apestegu=C3=ADa wrote:
>>> Hi there,
>>>=20
>>> I've had the translation of the ISA article ongoing for some time no=
w. Today, from another computer I usually use, I did some more translati=
on. When I was at around 165/200 strings translated, I did a search and =
replace and to my surprise, now I'm at 1/195 :-(
>>>=20
>>> What happened with all the other strings I already translated?
>>=20
>> Hi Fernando.
>>=20
>> Presuming ISA article is the ISA chapter of books/arch-handbook, Span=
ish overall status is 173/368.
>> It shows 1/195 (Untranslated strings) if you start translating it now=
. ok
>>=20
>> Weblate sync all translations to the git repository:
>> https://github.com/freebsd/freebsd-doc-translate
>>=20
>> You can see the history here
>> https://github.com/freebsd/freebsd-doc-translate/commits/main/documen=
tation/content/es/books/arch-handbook/isa
>> and here
>> https://translate-dev.freebsd.org/projects/documentation/booksarch-ha=
ndbookisa_index/es/#history
>> in the Weblate Insights/History page to check what's going on.
>>=20
>> Did you already check it?
>>=20
>> I never saw Weblate lose any translations because it uses a database =
and a git repository; what you said is very serious.
>>=20
>> Explain better what happened so I can debug the server logs.
>=20
> Hi Danilo,
>=20
> I'm thinking this might be a problem with the cache in the browser or =
something like that. It might be because I am (or was) logged in two dif=
ferent computers?
> Yes, now it shows 1/195, That checks out the number 368-173
>=20
> I'm positive the status before I did this change:
>=20
> https://translate-dev.freebsd.org/translate/documentation/booksarch-ha=
ndbookisa_index/es/?checksum=3Ddf9d40daebf9f438
>=20
> was 165/(two hundred and something). Like forty strings to finish or s=
o.
>=20
> I hit back in Firefox like 20 times in the Weblate tab and this is wha=
t I got: https://people.freebsd.org/~fernape/screenshot.png
>=20
> As you can see it reported 174/220. So 46 strings to finish. Now there=
 are 195 to finish. Maybe I'm misinterpreting something here.


I see 44 POST entries (translations/searches/etc) in the server access l=
og for the arch-handbook/isa chapter today.

And it starts in the offset number 149 and not 1.

X.X.X.X - - [16/Jul/2023:14:06:15 +0000] "POST /translate/documentation/=
booksarch-handbookisa_index/es/?q=3Dstate%3A%3Ctranslated&offset=3D149 H=
TTP/1.1" 302 5 "https://translate-dev.freebsd.org/" "Mozilla/5.0 (X11; F=
reeBSD amd64; rv:109.0) Gecko/20100101 Firefox/115.0"
[...]
X.X.X.X - - [16/Jul/2023:14:30:15 +0000] "POST /translate/documentation/=
booksarch-handbookisa_index/es/?q=3Dstate%3A%3Ctranslated&offset=3D173 H=
TTP/1.1" 302 5 "https://translate-dev.freebsd.org/" "Mozilla/5.0 (X11; F=
reeBSD amd64; rv:109.0) Gecko/20100101 Firefox/115.0"
X.X.X.X - - [16/Jul/2023:14:31:06 +0000] "POST /replace/documentation/bo=
oksarch-handbookisa_index/es/ HTTP/1.1" 200 5623 "https://translate-dev.=
freebsd.org/" "Mozilla/5.0 (X11; FreeBSD amd64; rv:109.0) Gecko/20100101=
 Firefox/115.0"
X.X.X.X - - [16/Jul/2023:14:31:08 +0000] "POST /replace/documentation/bo=
oksarch-handbookisa_index/es/ HTTP/1.1" 302 5 "https://translate-dev.fre=
ebsd.org/" "Mozilla/5.0 (X11; FreeBSD amd64; rv:109.0) Gecko/20100101 Fi=
refox/115.0"

I think the user interface fooled you somehow with these numbers.

Regards.
--=20
Danilo G. Baio

--6c11dbf1027a4a2cb598cd4eb39a669e
Content-Type: text/html;charset=utf-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso=
Normal,p.MsoNoSpacing{margin:0}</style></head><body><div><br></div><div>=
<br></div><div>On Sun, Jul 16, 2023, at 14:06, Fernando Apestegu=C3=ADa =
wrote:<br></div><blockquote type=3D"cite" id=3D"qt" style=3D""><div dir=3D=
"ltr"><div dir=3D"ltr"><br></div><div><br></div><div class=3D"qt-gmail_q=
uote"><div dir=3D"ltr" class=3D"qt-gmail_attr">On Sun, Jul 16, 2023 at 6=
:21=E2=80=AFPM Danilo G. Baio &lt;<a href=3D"mailto:dbaio@freebsd.org">d=
baio@freebsd.org</a>&gt; wrote:<br></div><blockquote class=3D"qt-gmail_q=
uote" style=3D"margin-top:0px;margin-right:0px;margin-bottom:0px;margin-=
left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;=
border-left-width:1px;padding-left:1ex;"><div class=3D"qt-msg-3295086454=
910521642"><div><u></u><br></div><div><div><br></div><div><br></div><div=
>On Sun, Jul 16, 2023, at 11:39, Fernando Apestegu=C3=ADa wrote:<br></di=
v><blockquote type=3D"cite" id=3D"qt-m_-3295086454910521642qt"><div dir=3D=
"ltr"><div>Hi there,<br></div><div><br></div><div>I've had the translati=
on of the ISA article ongoing for some time now. Today, from another com=
puter I usually use, I did some more translation. When I was at around 1=
65/200 strings translated, I did a search and replace and to my surprise=
, now I'm at 1/195 :-(<br></div><div><br></div><div>What happened with a=
ll the other strings I already translated?<br></div></div></blockquote><=
div><br></div><div>Hi Fernando.<br></div><div><br></div><div>Presuming I=
SA article is the ISA chapter of books/arch-handbook, Spanish overall st=
atus is 173/368.<br></div><div>It shows 1/195 (Untranslated strings) if =
you start translating it now. ok<br></div><div><br></div><div>Weblate sy=
nc all translations to the git repository:<br></div><div><a href=3D"http=
s://github.com/freebsd/freebsd-doc-translate" target=3D"_blank">https://=
github.com/freebsd/freebsd-doc-translate</a><br></div><div><br></div><di=
v>You can see the history here<br></div><div><a href=3D"https://github.c=
om/freebsd/freebsd-doc-translate/commits/main/documentation/content/es/b=
ooks/arch-handbook/isa" target=3D"_blank">https://github.com/freebsd/fre=
ebsd-doc-translate/commits/main/documentation/content/es/books/arch-hand=
book/isa</a><br></div><div>and here<br></div><div><a href=3D"https://tra=
nslate-dev.freebsd.org/projects/documentation/booksarch-handbookisa_inde=
x/es/#history" target=3D"_blank">https://translate-dev.freebsd.org/proje=
cts/documentation/booksarch-handbookisa_index/es/#history</a><br></div><=
div>in the Weblate Insights/History page to check what's going on.<br></=
div><div><br></div><div>Did you already check it?<br></div><div><br></di=
v><div>I never saw Weblate lose any translations because it uses a datab=
ase and a git repository; what you said is very serious.<br></div><div><=
br></div><div>Explain better what happened so I can debug the server log=
s.<br></div></div></div></blockquote><div><br></div><div>Hi Danilo,<br><=
/div><div><br></div><div>I'm thinking this might be a problem with the c=
ache in the browser or something like that. It might be because I am (or=
 was) logged in two different computers?<br></div><div>Yes, now it shows=
 1/195, That checks out the number 368-173<br></div><div><br></div><div>=
I'm positive the status before I did this change:<br></div><div><br></di=
v><div><a href=3D"https://translate-dev.freebsd.org/translate/documentat=
ion/booksarch-handbookisa_index/es/?checksum=3Ddf9d40daebf9f438">https:/=
/translate-dev.freebsd.org/translate/documentation/booksarch-handbookisa=
_index/es/?checksum=3Ddf9d40daebf9f438</a><br></div><div><br></div><div>=
was 165/(two hundred and something). Like forty strings to finish or so.=
<br></div><div><br></div><div>I hit back in Firefox like 20 times in the=
 Weblate tab and this is what I got: <a href=3D"https://people.freebsd.o=
rg/~fernape/screenshot.png">https://people.freebsd.org/~fernape/screensh=
ot.png</a><br></div><div><br></div><div>As you can see it reported 174/2=
20. So 46 strings to finish. Now there are 195 to finish. Maybe I'm misi=
nterpreting something here.<br></div></div></div></blockquote><div><br><=
/div><div><br></div><div>I see 44 POST entries (translations/searches/et=
c) in the server access log for the arch-handbook/isa chapter today.<br>=
</div><div><br></div><div>And it starts in the offset number 149 and not=
 1.<br></div><div><br></div><div>X.X.X.X - - [16/Jul/2023:14:06:15 +0000=
] "POST /translate/documentation/booksarch-handbookisa_index/es/?q=3Dsta=
te%3A%3Ctranslated&amp;offset=3D149 HTTP/1.1" 302 5 "<a href=3D"https://=
translate-dev.freebsd.org/">https://translate-dev.freebsd.org/</a>" "Moz=
illa/5.0 (X11; FreeBSD amd64; rv:109.0) Gecko/20100101 Firefox/115.0"<br=
></div><div>[...]<br></div><div>X.X.X.X - - [16/Jul/2023:14:30:15 +0000]=
 "POST /translate/documentation/booksarch-handbookisa_index/es/?q=3Dstat=
e%3A%3Ctranslated&amp;offset=3D173 HTTP/1.1" 302 5 "<a href=3D"https://t=
ranslate-dev.freebsd.org/">https://translate-dev.freebsd.org/</a>" "Mozi=
lla/5.0 (X11; FreeBSD amd64; rv:109.0) Gecko/20100101 Firefox/115.0"<br>=
</div><div>X.X.X.X - - [16/Jul/2023:14:31:06 +0000] "POST /replace/docum=
entation/booksarch-handbookisa_index/es/ HTTP/1.1" 200 5623 "<a href=3D"=
https://translate-dev.freebsd.org/">https://translate-dev.freebsd.org/</=
a>" "Mozilla/5.0 (X11; FreeBSD amd64; rv:109.0) Gecko/20100101 Firefox/1=
15.0"<br></div><div>X.X.X.X - - [16/Jul/2023:14:31:08 +0000] "POST /repl=
ace/documentation/booksarch-handbookisa_index/es/ HTTP/1.1" 302 5 "<a hr=
ef=3D"https://translate-dev.freebsd.org/">https://translate-dev.freebsd.=
org/</a>" "Mozilla/5.0 (X11; FreeBSD amd64; rv:109.0) Gecko/20100101 Fir=
efox/115.0"<br></div><div><br></div><div>I think the user interface fool=
ed you somehow with these numbers.<br></div><div><br></div><div>Regards.=
<br></div><div id=3D"sig118139120"><div class=3D"signature">--&nbsp;<br>=
</div><div class=3D"signature">Danilo G. Baio<br></div></div><div><br></=
div></body></html>
--6c11dbf1027a4a2cb598cd4eb39a669e--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?718f9e2f-3997-4db0-8ad0-fa2d63de7834>