Generate PDF in many languages
Post here questions and problems related to editing and publishing DITA content.
-
LASSE_MLE
- Posts: 46
- Joined: Mon Dec 05, 2022 3:24 pm
Generate PDF in many languages
Hello,
Sorry I've not found my answer in the forum, I'm trying to ask it directly!
Assuming that is is possible, how can I generate several PDF in several language from a unique ditamap?
If my ditamap looks like this
Is it possible to create a scenario to generate a French version of this SOP with only the topic that contains xml:lang="fr-FR"? And another scenario to generate a Japanese version?
Thank you in advance for your help!
ML
Sorry I've not found my answer in the forum, I'm trying to ask it directly!
Assuming that is is possible, how can I generate several PDF in several language from a unique ditamap?
If my ditamap looks like this
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map id="SOPName">
<title>SOPName</title>
<topicref href="topic1.dita" xml:lang="en-US"/>
<topicref href="topic1_FR.dita" xml:lang="fr-FR"/>
<topicref href="topic1_JA.dita" xml:lang="ja-JP"/>
<topicref href="topic2.dita" xml:lang="en-US"/>
<topicref href="topic2_FR.dita" xml:lang="fr-FR"/>
<topicref href="topic2_JA.dita" xml:lang="ja-JP"/>
</map>
Thank you in advance for your help!
ML
-
julien_lacour
- Posts: 802
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Generate PDF in many languages
Post by julien_lacour »
Hello,
You can filter the ditamap using several ditaval filters (one per language) but you first need to alter [OXYGEN_INSTALL_DIR]\frameworks\dita\DITA-OT\config\configuration.properties to add xml:lang as a profiling attribute. You can find more detailed information in our user guide.
Regards,
Julien
You can filter the ditamap using several ditaval filters (one per language) but you first need to alter [OXYGEN_INSTALL_DIR]\frameworks\dita\DITA-OT\config\configuration.properties to add xml:lang as a profiling attribute. You can find more detailed information in our user guide.
Regards,
Julien
-
LASSE_MLE
- Posts: 46
- Joined: Mon Dec 05, 2022 3:24 pm
Re: Generate PDF in many languages
Thank you Julien!
My bad, the forum is so complete that I did not even search in the User Manual
Despite the fact that I am myself manager of the documentation team (and often complain about people that does not read the manuals)...
BR
Mathieu
My bad, the forum is so complete that I did not even search in the User Manual
Despite the fact that I am myself manager of the documentation team (and often complain about people that does not read the manuals)...
BR
Mathieu
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service