Giuseppe Sacco <[EMAIL PROTECTED]> wrote: > Package: dblatex > Version: 0.2.5-1 > Severity: normal > > I am using dblatex to convert docbook into pdf. I noticed that one > string (at least) is not translated into Italian. This simple document > below display that string "Example" is not translated into "Esempio" > even if language Italian is specified. <snip/> > Other strings, like "Figure" or "Index" are correctly translated. > I checked the > file /usr/share/xml/docbook/stylesheet/dblatex/xsl/common/it.xml and it > contains the corrected translated strings, so I don't know where to look > for fixing this problem. <snip/>
Hello Giuseppe, /usr/share/xml/docbook/stylesheet/dblatex/xsl/common/it.xml is not the only relevant file for localization, additionally /usr/share/texmf/tex/latex/dblatex/style/dbk_locale.sty is needed. (Although I don't know the exact relationship between both files). In the second file the italian section is missing until now. I have started to add it, but I need your help. Could you please replace all !!! occurences in the code snippet (taken from dbk_locale.sty) below by the appropriate italian translations? The analoguous sections for other languages in the file (like english, german etc.) can help you to get the requested content right. Benoit (dblatex's author) could add your translation to the next upstream release (0.2.7), and I could integrate it in the upcoming debian release of 0.2.6. Thanks for your help, Andreas -- Andreas Hoenen <[EMAIL PROTECTED]> GPG: 1024D/B888D2CE A4A6 E8B5 593A E89B 496B 82F0 728D 8B7E B888 D2CE
\langsetupdbk{it}{ \def\refname{Nome}% \def\abstractname{Estratto}% \def\bibname{Bibliografia}% \def\prefacename{Prefazione}% \def\chaptername{Capitolo}% \def\appendixname{Appendice}% \def\contentsname{Sommario}% \def\listfigurename{Lista delle Figure}% \def\listtablename{Lista delle Tabelle}% \def\indexname{Indice}% \def\figurename{{\scshape Figura }}% \def\tablename{{\scshape Tabella }}% \def\examplename{Esempio} \def\ondate{!!!} \renewcommand{\DBKreleaseinfo}{!!!} \def\writtenby{A CURA DI} \def\projname{!!!} \def\titlename{!!!} \def\DBKindname{!!!} \def\DBKindtitle{!!!} \def\DBKrevtitle{!!!} \def\DBKrevdesc{!!!} \def\DBKrevnumber{!!!} \def\DBKrevname{!!!} \def\DBKrevdate{!!!} \def\DBKcontrib{!!!} \def\DBKsignature{!!!} }
pgpGBnxKAU2kT.pgp
Description: PGP signature