OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook] Translate words in html files.

Oh, I did not realize you were using "jw" as your processing tool. That tool uses the obsolete DSSSL stylesheets, while I was describing what can be done with the XSL stylesheets. I can't help you with the DSSSL stylesheets. You should seriously consider switching to an XSL-based system.

Bob Stayton
Sagehill Enterprises

On 2/17/2015 11:01 AM, Markos wrote:
On 17-02-2015 13:46, Michael.Urban@jpl.nasa.gov wrote:
Your message dated: Tue, 17 Feb 2015 12:45:42 -0200

Which document I need to edit to change the words that are generated in
html format?

I don't know the details of the Docbook structure. I'm just a user.

For example, I would like to produce html documents in Esperanto, then I
would like to change:

*Table of Contents ->  Indekso
I looked into doing this some years ago but could not get a consensus
from Esperantists on best translations.  Anyway, I think you want to add
a file, eo.xml, to the stylesheet's 'common/' directory, and add a
suitable line to l10n.xml

(Is 'indekso' the right word for 'Table of Contents'?  Isn't 'Enhavoj'
better?  'Next' could better be 'sekva' or even 'sekve')

Hi Michael and Bob

I discovered that there is already an eo.xml file in the directory:

But when I put in the header of the source text (hackakvoj.xml) the
<article lang = "eo"> the following error appears:

$ jw hackakvoj.xml
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#html
Working on: /home/nei/c2o/fontes_xml/eo/akvo/hackakvoj/hackakvoj.xml
L10N ERROR: generate-toc-in-front
L10N ERROR: gentext-intra-label-sep
L10N ERROR: gentext-label-title-sep
L10N ERROR: gentext-intra-label-sep

Should I change in the header of  source file the line?

Any tip?


Source file (hackakvoj.xml):

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"

<article lang="eo">

<title>Water - AKVO - Integrada Rigardo</title>
<pubdate>Januaro 2015</pubdate>

<title>Sugestoj estas bonvena!</title>
<imagedata fileref="bildoj/email_graf.png"/>

<title>Akvo - kio estas?</title>


To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]