Can I have multiple languages in one pdf?

Oxygen general issues.
ehill
Posts: 27
Joined: Mon May 24, 2010 5:01 pm

Can I have multiple languages in one pdf?

Post by ehill »

I'm using Oxygen XML Author 11.2 and DITA to create a pdf, and I have multiple files in multiple languages (for some legal stuff). I know when I build different languages I have to set the locale to the correct one for everything to show up properly so I don't think this would work all in one document.

Is there a way to have all the topics in one document and set the locale to en_us (because the rest of the document is in English)?
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Can I have multiple languages in one pdf?

Post by Radu »

Hi,

You can set xml:lang attributes to the topic root elements or topic references which contain other content than en-US.
See this link:
http://docs.oasis-open.org/dita/v1.2/cd ... llang.html
By default the DITA Open Toolkit knows these values:

Code: Select all


xml:lang="en-US"
xml:lang="de-DE"
xml:lang="es-ES"
xml:lang="fr-FR"
xml:lang="it-IT"
xml:lang="ja-JP"
xml:lang="zh-CN"
But support for other languages can be added by adding additional resource files like the ones located in the OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/cfg/common/vars directory.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply