[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-nano] man-html translated in RO

From: Mario Blättermann
Subject: Re: [Help-nano] man-html translated in RO
Date: Sat, 26 Jul 2014 22:44:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hi Mihai and Benno,

Am 25.07.2014 11:47, schrieb Benno Schulenberg:
> Hi Mihai,
> (For Mario: Mihai made Romanian translations of the nano docs, but
> of the HTML pages.  I'm wondering, how are you getting along with
> applying po4a to nano?)
Nice to know! New doc translators are always welcome.

> On Fri, Jul 25, 2014, at 11:25, Mihai Cristescu wrote (quoted in full):
>> Thanks for reply and sorry that the files can't be used in this form.
>> I know that the html page are generated from the man groff format, but the
>> thing is I am using a CAT system (memoQ) which uses a translation memory
>> and speed up the translation process significantly.
> Ah, very good.  Then, when the nano docs become available in
> POT files, this translation memory will save you a lot of work.
Off-line translation tools like Lokalize, Poedit or Gtranslator also have a
translation memory. But as long as your special tools can handle normal po files
(which I strongly assume) then it shouldn't be a problem to keep your software
which your are familiar with.

>> The problem is that I can't import the groff files into memoQ.
>> I have tried several approaches to convert the man groff files to: rtf ,
>> ps, html formats which can be imported in memoQ, omegat , Trados SDL etc,
>> but the issue is that there is no way to convert the translated files to
>> man groff back. It seems that the only productive way to translate the man
>> pages is to translate the files directly, but this is time consuming since
>> you are not using a translation memory and term base.
>> Regarding po4a :
>> I have installed yesterday this package on my arch system and followed the
>> documentation. I succeeded converting the man pages to pot files, import
>> them in memoQ, translated, but I was not able to convert back to man page
>> (I had some strange errors on po4a-translate command) and I had to give up.
>> Maybe I didn't quite understand how the po4a system works.
> Mario has some experience with po4a.  Maybe you can work together
> on solving the issues?

First, forget about the too difficult process described in the po4a docs, with
the configuration file which allows to accept non-UTF8 files, add extended
translator acknowledgements and some other things which we don't really need.
Just generate the pot file and localized docs with the attached scripts.

Put both scripts in the doc directory. With you generate then
a merged pot template for all groff and texinfo sources.

Then use the pot file to create your po file as usual, put the file ro.po (note
the file name, no other naming scheme will be accepted) into the doc directory
and launch The translated groff files will be created in
subdirectories, named according to the locale. The texinfo file gets a suffix
(ro in your case, because there's currently no default way to install localized
texinfo files on a system).

Note, per default po4a needs at least 80% of the po strings translated for each
source file, otherwise the creation of that file will be skipped. For testing
purposes you can screw down ${threshold}, currently it is set to zero. But in my
mind, users won't benefit of translations lower than 80%, who wants to read a
documentation with more holes than real info in his/her native language...?

>> Nevertheless I shall contact Laurentiu to have a chat with him about the
>> process.
Would be nice in any case to complete (or at least almost complete) the UI
translation first. Besides that, I don't see any other examples of Romanian man
pages, so it would be a good idea to translate the 49 messages from help2man [1]
first and let the terms confirm by a Romanian reviewer. Would be a good base for
future man page translations.

Moreover, there are already French plain text translations of the manpages. I
will try to import those into po files, once someone with Autotools skills has
setup the installation chain and the TP domain has been initialized.


Best Regards,

Description: application/shellscript

Description: application/shellscript

reply via email to

[Prev in Thread] Current Thread [Next in Thread]