Re: User Guide

Serge Grondin <[email protected]> Mon, 16 May 2005 16:23:23 -0400
Newsgroups gmane.comp.horde.documentation
Organization Commission Scolaire des Bois-Francs
Message-ID <[email protected]>
Hi,

Thanks for the info, I search a little and I found it.

I change

<!ENTITY % lang-fr "IGNORE">
to
<!ENTITY % lang-fr "INCLUDE">

and all is translated.

Thanks


Eric Rostetter a =E9crit :

>These are DocBook "generated" text.  They don't appear in the source
>XML, and are not explicitly called by the author.  DocBook style sheets
>generate them when they encounter the appropriate tags (e.g. <chapter>
>tags for the word "Chapter" you ask about).
>
>First step is to make sure you define the proper language for use.  Find
>any references to "lang-fr" being set (assuming you want French), and
>make sure they are set appropriately.  For example, in manual.xml and
>userguide/userguide.xml, you will see:
>
><!ENTITY % lang-en "IGNORE">
><!ENTITY % lang-nl "IGNORE">
><!ENTITY % lang-fr "IGNORE">
>
>You would want to change that to something other than "IGNORE" for the
>last entry (lang-fr) to get French support.  I'm not sure right now
>what you would change it to.  But obviously IGNORE isn't going to be
>the right string to use. :)
>
>Then you may still need to generate the correct gentext translation.  That=
 may
>be more difficult.  Hopefully you won't need to do this, and it is already
>in the DocBook style sheets or something. If you do, it would be
>something like:
>
><?xml version=3D'1.0'?>
><internationalization>
>
><localization language=3D"fr">
><gentext key=3D"chapter"                  text=3D"translation"/>
><gentext key=3D"article"                  text=3D"Article"/>
></localization>
>
>Where the "text=3D" part is the translation to French or whatever.
>But I'm really not sure off the top of my head where you would put
>that, etc.
>
>I guess maybe if you tell me what you've done so far, and if the first
>step above is done or not, I'll try to experiement and help more.  I don't
>have time right now, but if you follow up on this message, I'll certainly
>do what I can to experiment and answer your questions.  I'd love to see
>the docs being actively worked on, and translation would be one of the
>things I'd like to see done.
>
>  =

>

-- =

Programming today is a race between software engineers
to build bigger and better idiot-proof programs,
and the Universe trying to produce bigger and better idiots.

So far, the Universe is winning.
                                    Rich Cook - Author

Serge Grondin
Technicien en Informatique
Commission Scolaire des Bois-Francs
Tel. bur.:   (819) 758-6453, poste 2920
e-Mail bur.: [email protected]

-- =

Documentation mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]