Need help on translating documentation

Поиск
Список
Период
Сортировка
Искать

Need help on translating documentation

От:
Tatsuo Ishii <ishii@sraoss.co.jp>
Дата:
I am working on translating PostgreSQL 13 documentation to Japanese
and having a problem with catalogs.sgml. Due to major format change in
13, the number of places need to translate in 13 is large.

12:
     
      aggnumdirectargs
      int2
      
      Number of direct (non-aggregated) arguments of an ordered-set or
       hypothetical-set aggregate, counting a variadic array as one argument.
       If equal to pronargs, the aggregate must be variadic
       and the variadic array describes the aggregated arguments as well as
       the final direct arguments.
       Always zero for normal aggregates.
     

13:
     
      
       aggnumdirectargs int2
      
      
       Number of direct (non-aggregated) arguments of an ordered-set or
       hypothetical-set aggregate, counting a variadic array as one argument.
       If equal to pronargs, the aggregate must be variadic
       and the variadic array describes the aggregated arguments as well as
       the final direct arguments.
       Always zero for normal aggregates.
      
     

It looks like in many places the description part of the document are
same in 12 and 13.  Since we already have translated 12 documents, I
wonder if there's a (semi) automated way to reuse the 12 Japanese
translation for 13 doc. I want to avoid manual cut&paste work.

Any suggestions are welcome.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp


Re: Need help on translating documentation

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Tatsuo Ishii  writes:
> It looks like in many places the description part of the document are
> same in 12 and 13.  Since we already have translated 12 documents, I
> wonder if there's a (semi) automated way to reuse the 12 Japanese
> translation for 13 doc. I want to avoid manual cut&paste work.

While I was working on those table changes, I had some occasions
to want to do that sort of thing.  I found that it was possible
to do it mechanically using XML tools.  Unfortunately I did not
save my scripts, and they were just hacks anyway ;-).  But you
might be able to get somewhere with that hint.

			regards, tom lane


Re: Need help on translating documentation

От:
Tatsuo Ishii <ishii@sraoss.co.jp>
Дата:
> While I was working on those table changes, I had some occasions
> to want to do that sort of thing.  I found that it was possible
> to do it mechanically using XML tools.  Unfortunately I did not
> save my scripts, and they were just hacks anyway ;-).  But you
> might be able to get somewhere with that hint.

Thanks for the info. I will try the direction. Actually I expected
there are something like auto-generate-from-template systems to create
catalogs.sgml.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp


FAQ