Oxygen 14.1: No string named xxx Found for language

Post here questions and problems related to editing and publishing DITA content.
reinierk
Posts: 36
Joined: Tue Feb 21, 2012 8:22 pm
Location: Rotterdam, the Netherlands
Contact:

Oxygen 14.1: No string named xxx Found for language

Post by reinierk »

I recently upgraded to Oxygen Author 14.1. Now my books do not publish to PDF anymore... I receive:

Code: Select all

No string named 'Table of Contents' was found for language 'en_GB'. Add a mapping for the string 'Table of Contents'.
In 14.0 publishing still worked...
I am troublshooting, and discovered that the string files are copied to temp/strings.1234567.xml Here is it's content:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<langlist>
<var xml:lang="en" filename="file:/home/reinierk/OxygenXMLEditor/osa/Customization/common/vars/en.xml"/>
<var xml:lang="en-GB" filename="file:/home/reinierk/OxygenXMLEditor/osa/Customization/common/vars/en_GB.xml"/>
<var xml:lang="nl" filename="file:/home/reinierk/OxygenXMLEditor/osa/Customization/common/vars/nl.xml"/>
<var xml:lang="de"
filename="file:/opt/oxygen14.1/frameworks/dita/DITA-OT/plugins/org.dita.pdf2/cfg/common/vars/de.xml"/>
<var xml:lang="en"
filename="file:/opt/oxygen14.1/frameworks/dita/DITA-OT/plugins/org.dita.pdf2/cfg/common/vars/en.xml"/>
<!-- stuff deleted -->
<var xml:lang="nl"
filename="file:/opt/oxygen14.1/frameworks/dita/DITA-OT/plugins/org.dita.pdf2/cfg/common/vars/nl.xml"/>
</langlist>
Of cause both en.xml and en_GB.xml contain a mapping for the string:

Code: Select all

    <!-- The heading string to put at the top of the Table of Contents -->
<variable id="Table of Contents">Contents</variable>
in the scenario customization.dir is set to

Code: Select all

/home/reinierk/OxygenXMLEditor/osa/Customization
Any Idea what is wrong here????
Kind Regards,
Reinier Kleipool,
Course Materials editor,
Open Source Academy
http://www.OpenSourceAcademy.eu
Radu
Posts: 9058
Joined: Fri Jul 09, 2004 5:18 pm

Re: Oxygen 14.1: No string named xxx Found for language

Post by Radu »

Hi,

Oxygen 14.1 comes with a newer version of the DITA OT, DITA OT 1.6.1.
A list of DITA OT changes can be found here:

http://dita-ot.sourceforge.net/1.6/read ... el1.6.html

The DITA OT plugin for generating PDF has been moved here:

OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.pdf2

Probably one of the changes in the DITA OT stylesheets is responsible for this, for example some template names were changed and the customization directory needs to be updated to work with the newest DITA OT.

If you are having trouble with this, you could try to send us (support@oxygenxml.com) the zipped customization directory and I'll try to take a look at it.

Or you could copy the DITA OT from Oxygen 14.0 in a separate folder and edit the transformation scenario to use that DITA OT instead by modifying the dita.dir parameter.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
reinierk
Posts: 36
Joined: Tue Feb 21, 2012 8:22 pm
Location: Rotterdam, the Netherlands
Contact:

Proposed work-around

Post by reinierk »

It turns out that underscores (_) in xml:lang attributes are no longer re-written in to dashes (-) in the vars.xsl transform.
In DITA OT 1.6.1 you have to write languages with dashes: xml:lang="en-GB"
Review all your topics (and bookmaps) for this!
Kind Regards,
Reinier Kleipool,
Course Materials editor,
Open Source Academy
http://www.OpenSourceAcademy.eu
Post Reply