Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2018 15:32:19 -0300
From:      Edson Brandi <ebrandi@freebsd.org>
To:        freebsd-doc@freebsd.org, Gabor Kovesdan <gabor@freebsd.org>
Subject:   Strange behavior in "make tran" for pgpkeys article
Message-ID:  <CAAT=9YfCpMxW_y6U5O2e%2BRutZg8h5QPTSw2fFCf2iPFyyhgrMQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi guys,

While moving forward here with the effort to translate the FreeBSD
Articles to pt_BR I was trying to generate the pt_BR version of the
pgpkeys article from the pt_BR.po file, but when i used the "make
tran" command it generate an article.xml with practically 4 Mb in
size, instead the less than 3Kb file that i was expecting.

For some reason, appear that the "make tran" command are expanding the entities:

&section.pgpkeys-officers;
&section.pgpkeys-core;
&section.pgpkeys-developers;
&section.pgpkeys-other;

I wondered if anyone could tell me why this happened, and what I could
do to fix it.
Any help will be very appreciated :)

Some links that can help you to reproduce the problem:

The pt_BR.po file are located at:
https://people.freebsd.org/~ebrandi/temp/en_BR.po

The article.xml generated from it with "make tran" command are located at:
https://people.freebsd.org/~ebrandi/temp/article.xml

The original en_US article, with less than 3Kb:
https://svnweb.freebsd.org/doc/head/en_US.ISO8859-1/articles/pgpkeys/article.xml?revision=50974&view=markup

[  ]'s Brandi
--
Edson Brandi
ebrandi@FreeBSD.org

OpenPGP Key: 0x209E9B54FFD3035B
443B 5363 564F 06C3 EA54  9482 209E 9B54 FFD3 035B



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAT=9YfCpMxW_y6U5O2e%2BRutZg8h5QPTSw2fFCf2iPFyyhgrMQ>