Strange behavior in "make tran" for pgpkeys article

Edson Brandi ebrandi at freebsd.org
Sat Sep 15 18:39:34 UTC 2018


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 at FreeBSD.org

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


More information about the freebsd-doc mailing list