Re: Problem with outdated file

From: Fernando_Apesteguía <fernando.apesteguia_at_gmail.com>
Date: Fri, 05 Nov 2021 12:32:01 UTC
On Fri, Nov 5, 2021 at 12:14 PM Danilo G. Baio <dbaio@freebsd.org> wrote:
>
> On Wed, Nov 03, 2021 at 01:18:56PM +0100, Fernando Apesteguía wrote:
> > On Wed, Nov 3, 2021 at 1:01 PM Danilo G. Baio <dbaio@freebsd.org> wrote:
> > >
> > >
> > >
> > > On Wed, Nov 3, 2021, at 02:59, Fernando Apesteguía wrote:
> > > > On Thu, Oct 14, 2021 at 2:52 PM Fernando Apesteguía <fernape@freebsd.org> wrote:
> > > >>
> > > >> Hi all,
> > > >>
> > > >> It seems it happened again. The fonts article is fully translated
> > > >> (according to Weblate) but it seems the .po file is not correct as one
> > > >> msgid seems missing:
> > > >>
> > > >> documentation/content/es/articles/fonts/_index.po
> > > >> Your input po file documentation/content/es/articles/fonts/_index.po
> > > >> seems outdated (msgid declared in one file only: Groff:
> > > >> ). Please consider running po4a-updatepo to refresh it.
> > > >>
> > > >> I checked it and it is translated (in fact source and translation are
> > > >> identical).
> > > >>
> > > >> danilo@, could you have a look at it? Or if there is some procedure I
> > > >> should do to "refresh" Weblate, let me know.
> > > >
> > > > Any news on this?
> > > >
> > > > Weblate translations look frozen.
> > > > Some articles are 100% translated but the .po file does not have all
> > > > the translated strings. Also, some changes happen in the master files
> > > > that are not reflected in the translations.
> > > >
> > > > Cheers.
> > > >
> > > >>
> > > >> Thanks!
> > >
> > >
> > > Hum, so it didn't happen just with a single document.
> >
> > I assume this happens also in other languages although I didn't check.
> >
> > >
> > > Probably we will need a complete refresh of all translation files.
> > >
> > > I'll dig into this and then document the procedure in case it happens again. (I hope not).
> >
> > Thanks!
> >
> > >
> > > And to note, I didn't receive your other email on Oct 14.
> >
> > No worries at all!
> >
> > Cheers.
> >
>
>
> Hi.
>
> All source files were updated to the latest commit in doc tree
> 41a849652d188f0b37c62f7ea66e97e99f17343d. [1]
>
> No errors in the process.
>
> Could you retest the files you had issues with?

Seems to work now. I had to update, for the fonts article, 7 strings.
One of them looks weird though:

include::shared/attributes/attributes-{{% lang %}}.adoc[]
include::shared/{{% lang %}}/teams.adoc[] include::shared/{{% lang
%}}/mailing-lists.adoc[] include::shared/{{% lang %}}/urls.adoc[]

>
> I'll test pt-br this weekend.
>
> I saw one new string [2] in almost all documents, which is another issue
> with po4a.

Yes, most of the Spanish translations are one string behind:

documentation/content/es/articles/contributing/_index.po
Your input po file
documentation/content/es/articles/contributing/_index.po seems
outdated (The amount of entries differ between files: 205 is not 206
). Please consider running po4a-updatepo to refresh it.
.....
documentation/content/es/articles/cups/_index.po
Your input po file documentation/content/es/articles/cups/_index.po
seems outdated (The amount of entries differ between files: 54 is not
55
). Please consider running po4a-updatepo to refresh it.
.....
documentation/content/es/articles/explaining-bsd/_index.po
Your input po file
documentation/content/es/articles/explaining-bsd/_index.po seems
outdated (The amount of entries differ between files: 79 is not 80
). Please consider running po4a-updatepo to refresh it.
.....
documentation/content/es/articles/filtering-bridges/_index.po
Your input po file
documentation/content/es/articles/filtering-bridges/_index.po seems
outdated (The amount of entries differ between files: 61 is not 62
). Please consider running po4a-updatepo to refresh it.

etcetera.

Thanks a lot!

>
> 1 - https://cgit.freebsd.org/doc/commit/?id=41a849652d188f0b37c62f7ea66e97e99f17343d
> 2 - https://translate-dev.freebsd.org/translate/documentation/articlesbsdl-gpl/pt_BR/?checksum=19a7d213651c9738
>
> Regards.
> --
> Danilo G. Baio (dbaio)