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

How to fix debiandoc-sgml for the new language



On Thu, Jan 20, 2005 at 11:29:13PM +0100, Jure Cuhalev wrote:
> debiandoc2html -c -l sl release-notes.sl.sgml
> Warning: locale 'sl' not supported, using en_US.ISO8859-1
> 
> how do I tell it to use iso-8859-2 for 'sl' language? I do have
> sl_SI.ISO-8859-2 locales generated.

I think debiandoc-sgml does not have language for sl.

debiandoc-sgml have conversion like <chapt ...> tag to Chapter etc.
depending on language.

Did you check generated page?  How it looks.  All generated titles such
as "Section" are in English, I think.

Go to /usr/share/perl5/DebianDoc_SGML/Locale

You see other locales.
...
es_ES.ISO8859-1
es_ES.ISO8859-15
fi_FI.ISO8859-1
fi_FI.ISO8859-15
fr_FR.ISO8859-1
fr_FR.ISO8859-15
gl_ES.ISO8859-1
gl_ES.ISO8859-15
...


That what you are missing.

# cp -a en_US.ISO8859-1 sl_SI.ISO-8859-2
# cd sl_SI.ISO-8859-2
# LANG=sl_SI.ISO-8859-2 vim HTML
 ... translate them all like other language
 ... Do for all formats.

Then try generate page on your system. :-)

Do not forget to send these translated files to BTS.
Ardo has to update package.  (Or some one need to make package) and
install this to debian host building pages on the server to get them
right.

Osamu

Attachment: signature.asc
Description: Digital signature


Reply to: