This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Multi-language documentation


Michael Westbay wrote:

> You might want to look at SmartDoc:
> 
>   http://www.asahi-net.or.jp/~dp8t-asm/java/tools/SmartDoc/
> 
> You can create blocks with different lang="..." attributes so that the
> original source may be bilingual, with monolingual output.  When I first
> started with DocBook, I thought that I could do that, but soon found that it
> isn't set up to filter out only the lang="..." attributes of a specified
> language.

You can use profiling stylesheet (tools/profile/profile.xsl) from XSL
distribution to do it. Just run it with parameters "attr=lang" and
"lang=xx", where xx is language you want to extract. (Many thanks to
Mike Smith who brings idea making profiling stylesheet customizable this
way.;)

However storing multiple translations in one document is not good idea
IMHO. 

			Jirka

-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz
  http://www.kosek.cz

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]