[procps] Re: Translations

  • From: Mario Blättermann <mario.blaettermann@xxxxxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Sun, 29 Dec 2013 12:32:06 +0100

Am Sonntag, 29. Dezember 2013, 05:07:56 schrieb Jim Warner:
> On 12/28/2013 07:51 AM, Mario Blättermann wrote:
> > Then let's use po4a. Although it would be possible to convert the roff
> > source to DocBook. I've done this with Doclifter [1] for free.1 without
> > problems. But it failed on top.1 with 77 errors. As far as I can
> > evaluate, it would be easier to keep the roff formatted man pages and use
> > po4a. Creating the po file from top.1 with po4a didn't fail.
> 
> Hi Mario,
> 
> I too would have voted for po4a, just to keep troff source, so I'm glad
> that's the choice.
> 
> I had some correspondence with Eric Raymond (doclifter) awhile back and
> eliminated what I thought were the last errors (the .Bd/.Ed macros).  So
> I was surprised to hear of the 77 errors you encountered.
> 
> I've re-tried conversions using doclifter-2.11, 2.12 and 2.13 and can't
> duplicate your experience.
> 
> Can you elaborate on them?
> 
I'm using the following versions:

$ rpm -qi procps-ng
Name        : procps-ng
Version     : 3.3.8
Release     : 14.fc20
Architecture: x86_64

$ rpm -qi doclifter
Name        : doclifter
Version     : 2.13
Release     : 2.fc20

When trying to convert the installed top.1:

$ cp /usr/share/man/man1/top.1.gz .
$ gunzip top.1.gz
$ doclifter ./top.1
"None", line 121: error - uninterpreted 'Bd' command
"None", line 155: error - uninterpreted 'Ed' command
"None", line 184: error - uninterpreted 'Bd' command
"None", line 189: error - uninterpreted 'Ed' command
"None", line 193: error - uninterpreted 'Bd' command
"None", line 196: error - uninterpreted 'Ed' command
"None", line 211: error - uninterpreted 'Bd' command
"None", line 221: error - uninterpreted 'Ed' command
"None", line 228: error - uninterpreted 'Bd' command
"None", line 236: error - uninterpreted 'Ed' command
"None", line 246: error - uninterpreted 'Bd' command
"None", line 273: error - uninterpreted 'Ed' command
"None", line 420: error - uninterpreted 'Bd' command
"None", line 425: error - uninterpreted 'Ed' command
"None", line 437: error - uninterpreted 'Bd' command
"None", line 439: error - uninterpreted 'Ed' command
"None", line 444: error - uninterpreted 'Bd' command
"None", line 452: error - uninterpreted 'Ed' command
"None", line 462: error - uninterpreted 'Bd' command
"None", line 464: error - uninterpreted 'Ed' command
"None", line 467: error - uninterpreted 'Bd' command
"None", line 469: error - uninterpreted 'Ed' command
"None", line 472: error - uninterpreted 'Bd' command
"None", line 479: error - uninterpreted 'Ed' command
"None", line 901: error - uninterpreted 'Bd' command
"None", line 920: error - uninterpreted 'Ed' command
"None", line 1061: error - uninterpreted 'Bd' command
"None", line 1064: error - uninterpreted 'Ed' command
"None", line 1085: error - uninterpreted 'Bd' command
"None", line 1088: error - uninterpreted 'Ed' command
"None", line 1105: error - uninterpreted 'Bd' command
"None", line 1112: error - uninterpreted 'Ed' command
"None", line 1145: error - uninterpreted 'Bd' command
"None", line 1154: error - uninterpreted 'Ed' command
"None", line 1399: error - uninterpreted 'Bd' command
"None", line 1406: error - uninterpreted 'Ed' command
"None", line 1460: error - uninterpreted 'Bd' command
"None", line 1471: error - uninterpreted 'Ed' command
"None", line 1585: error - uninterpreted 'Bd' command
"None", line 1589: error - uninterpreted 'Ed' command
"None", line 1649: error - uninterpreted 'Bd' command
"None", line 1652: error - uninterpreted 'Ed' command
"None", line 1814: error - uninterpreted 'Bd' command
"None", line 1819: error - uninterpreted 'Ed' command
"None", line 1851: error - uninterpreted 'Bd' command
"None", line 1854: error - uninterpreted 'Ed' command
"None", line 1861: error - uninterpreted 'Ed' command
"None", line 1867: error - uninterpreted 'Bd' command
"None", line 1869: error - uninterpreted 'Ed' command
"None", line 1885: error - uninterpreted 'Bd' command
"None", line 1888: error - uninterpreted 'Ed' command
"None", line 1892: error - uninterpreted 'Bd' command
"None", line 1894: error - uninterpreted 'Ed' command
"None", line 1902: error - uninterpreted 'Bd' command
"None", line 1905: error - uninterpreted 'Ed' command
"None", line 1925: error - uninterpreted 'Bd' command
"None", line 1929: error - uninterpreted 'Ed' command
"None", line 1938: error - uninterpreted 'Bd' command
"None", line 1941: error - uninterpreted 'Ed' command
"None", line 1950: error - uninterpreted 'Bd' command
"None", line 1960: error - uninterpreted 'Ed' command
"None", line 1988: error - uninterpreted 'Bd' command
"None", line 1992: error - uninterpreted 'Ed' command
"None", line 2004: error - uninterpreted 'Bd' command
"None", line 2007: error - uninterpreted 'Ed' command
"None", line 2013: error - uninterpreted 'Bd' command
"None", line 2015: error - uninterpreted 'Ed' command
"None", line 2022: error - uninterpreted 'Bd' command
"None", line 2028: error - uninterpreted 'Ed' command
"None", line 2036: error - uninterpreted 'Bd' command
"None", line 2040: error - uninterpreted 'Ed' command
"None", line 2049: error - uninterpreted 'Bd' command
"None", line 2054: error - uninterpreted 'Ed' command
"None", line 2071: error - uninterpreted 'Bd' command
"None", line 2075: error - uninterpreted 'Ed' command
"None", line 2108: error - uninterpreted 'Bd' command
"None", line 2117: error - uninterpreted 'Ed' command
doclifter: there were 77 errors during translation

My version of procps-ng is too old for that matter, it works without problems 
with the newest top.1 from Gitorious. But doesn't matter, I would prefer po4a 
anyway, so we need a working translation stack based on that and don't have to 
bother with doclifter. But before that, the effort should be concentrated on 
making the UI translatable. Well, it is translatable actually, but it still 
has to be published via translationproject.org. I see some appropriate changes 
last days in Gitorious so I hope we get the pot file soon from TP.

Best Regards,
Mario

Other related posts: