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

Re: Bulgarian translation of release notes



Hi,

On Sun, May 15, 2005 at 06:31:26PM +0300, Rumen Krastev wrote:
> Unfortunately I'm not so familiar with docbook nor debiandoc-sgml, because 
> until now I worked only with .po and .wml files. I suppose there is some 
> tools for debiandoc2po but I didn't found any. Even HTML version will be 
> good.. 

To create HTML from debiandoc SGML just use debiandoc2html, similar
tools exists for PDF/PS (need language support!). A simple 
$ make architecture=i386 html
should do it for you (similar for other archs). Required is
debiandoc-sgml package and tetex stuff for PS/PDF.

> Please tell me what exactly is the algorithm to start translating this 
> documentation? I remember something about debiandoc->docbook->html and via 
> versa, or something like that?

It a simple text file which a few tags similar to wml. Just translate 
release-notes.en.sgml and remember to add a note what revision of the
English file you translated to simplify updating in the future.

> Furthermore, according to this mail 
> http://lists.debian.org/debian-doc/2005/01/msg00124.html
> debiandoc is not compatible with UTF-8, so I should use windows-1251 (cp1251)?

Don't know whether windows-1251 is the best choice but please restrict
to common Bulgarian 8-bit encoding.

> ..and according to this mail 
> http://lists.debian.org/debian-doc/2005/01/msg00125.html
> I should make new locale in /usr/share/perl5/DebianDoc_SGML/Locale
> right?

Right. That's especially for HTML very simple but we need LaTeX
adjustments too to be able to create PS/PDF.
Do you know how to write a simple Hello world document in Bulgarian?

PS: Similar work is missing for other languages as well. Currently
supported are:

$ ls /usr/share/perl5/DebianDoc_SGML/Locale/
Alias.pm          en_US.ISO8859-1   gl_ES.ISO8859-1   nl_NL.ISO8859-1
sk_SK.ISO8859-2
ca_ES.ISO8859-1   es_ES.ISO8859-1   gl_ES.ISO8859-15  nl_NL.ISO8859-15
sl_SI.ISO8859-2
ca_ES.ISO8859-15  es_ES.ISO8859-15  hr_HR.ISO8859-2   pl_PL.ISO8859-2
tr_TR.ISO8859-9
cs_CZ.ISO8859-2   fi_FI.ISO8859-1   it_IT.ISO8859-1   pt_BR.ISO8859-1
zh_CN.GB2312
da_DK.ISO8859-1   fi_FI.ISO8859-15  it_IT.ISO8859-15  pt_PT.ISO8859-1
zh_TW.Big5
de_DE.ISO8859-1   fr_FR.ISO8859-1   ja_JP.eucJP       pt_PT.ISO8859-15
de_DE.ISO8859-15  fr_FR.ISO8859-15  ko_KR.eucKR       ru_RU.KOI8-R

Jens



Reply to: