Unable to add new language to WebHelp output (DOTX001W)
Having trouble installing Oxygen? Got a bug to report? Post it all here.
Unable to add new language to WebHelp output (DOTX001W)
Post by Anonymous1 »
Hello,
I am trying to figure out how to add our new language (russian) to the webhelp output.
When I run the webhelp transformation scenario, I get the following message:
1. Went to DITA-OT\plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\localization and created the file strings-ru-ru.xml (copied the english file and renamed it).
2. Opened strings-ru-ru.xml and changed <strings xml:lang="en-us"> to <strings xml:lang="ru-ru">.
3. Opened the strings.xml file and added the following at the end of the list:
<lang xml:lang="ru" filename="strings-ru-ru.xml"/>
<lang xml:lang="ru-ru" filename="strings-ru-ru.xml"/>
4. Set the xml:lang attribute of each topic and ditamap to ru-RU.
But that doesn't seem to be enough. What am I missing?
I tried to follow this:
https://www.oxygenxml.com/doc/versions/ ... elp-1.html
What I don't think is necessary (tried it anyway) was to set args.default.language to ru-ru. Normally, the xml:lang attribute should be enough. Everything works fine when I output some of the existing languages (fr-fr for example).
I am trying to figure out how to add our new language (russian) to the webhelp output.
When I run the webhelp transformation scenario, I get the following message:
Here is what I did.[DOTX001W]: No string named 'linkToThis' was found for language 'ru-ru'. Using the default language 'en-us'. Add the mapping between default language and specific language for the string 'linkToThis'.
1. Went to DITA-OT\plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\localization and created the file strings-ru-ru.xml (copied the english file and renamed it).
2. Opened strings-ru-ru.xml and changed <strings xml:lang="en-us"> to <strings xml:lang="ru-ru">.
3. Opened the strings.xml file and added the following at the end of the list:
<lang xml:lang="ru" filename="strings-ru-ru.xml"/>
<lang xml:lang="ru-ru" filename="strings-ru-ru.xml"/>
4. Set the xml:lang attribute of each topic and ditamap to ru-RU.
But that doesn't seem to be enough. What am I missing?
I tried to follow this:
https://www.oxygenxml.com/doc/versions/ ... elp-1.html
What I don't think is necessary (tried it anyway) was to set args.default.language to ru-ru. Normally, the xml:lang attribute should be enough. Everything works fine when I output some of the existing languages (fr-fr for example).
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: Unable to add new language to WebHelp output (DOTX001W)
Post by bogdan_cercelaru »
Hello,
Thank you for reporting this.
What version of DITA-OT are you using? I was able to obtain this kind of message only if I am using DITA-OT 2.x to generate WebHelp.
I've also registered an issue in our issue tracking system to be analyzed.
Regards,
Bogdan
Thank you for reporting this.
What version of DITA-OT are you using? I was able to obtain this kind of message only if I am using DITA-OT 2.x to generate WebHelp.
I've also registered an issue in our issue tracking system to be analyzed.
Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Re: Unable to add new language to WebHelp output (DOTX001W)
Post by Anonymous1 »
Thanks for having a look at this.
We are using DITA-OT 2.x and Oxygen 17.1
We are using DITA-OT 2.x and Oxygen 17.1
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Unable to add new language to WebHelp output (DOTX001W)
Hi Ben,
After step (4) you should also try running the DITA Open Toolkit Integrator task, there should be a predefined Oxygen transformation scenario called Run DITA OT Integrator in the Transformation Scenarios view which you can use for this. The integrator will add your extra translations to the set of translations the DITA OT XHTML-based publishing can use.
Regards,
Radu
After step (4) you should also try running the DITA Open Toolkit Integrator task, there should be a predefined Oxygen transformation scenario called Run DITA OT Integrator in the Transformation Scenarios view which you can use for this. The integrator will add your extra translations to the set of translations the DITA OT XHTML-based publishing can use.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Unable to add new language to WebHelp output (DOTX001W)
Post by Anonymous1 »
That worked, thank you very much!
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: Unable to add new language to WebHelp output (DOTX001W)
Hi Stefaan,
The complete procedure to localize the static labels that are used in WebHelp output is described in our user-manual:
https://www.oxygenxml.com/doc/versions/ ... hing2.html
In short, you should:
Regards,
Ionela
The complete procedure to localize the static labels that are used in WebHelp output is described in our user-manual:
https://www.oxygenxml.com/doc/versions/ ... hing2.html
In short, you should:
- Create a new string-X-X.xml file (e.g. for Canadian French the file should be something like this string-fr-ca.xml).
If the language file does not exist, when you create it you can start from strings-en-us.xml (duplicate strings-en-us.xml and then rename the copy to string-X-X.xml). - Make sure you add newly created XML file in strings.xml. For Canadian French it should be added like this:
Code: Select all
<lang xml:lang="fr-ca" filename="strings-fr-ca.xml"/>
- Run the predefined transformation scenario called Run DITA OT Integrator by executing it from the Apply Transformation Scenario(s) dialog box. If the integrator is not visible, select the Show all scenarios option that is available in the Settings drop-down menu.
Note that you need to run oXygen with administrative rights when you run the Integrator. After the transformation is successfully executed we recommend to restart oXygen with normal privileges. - Edit the DITA Map WebHelp Responsive transformation scenario and set the args.default.language parameter to that language code (fr-ca for Canadian French).
- Run the edited DITA Map WebHelp Responsive transformation scenario.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 21
- Joined: Tue Mar 27, 2018 3:46 pm
Re: Unable to add new language to WebHelp output (DOTX001W)
DocWriter wrote:Hello,
I've tried the procedure like mentioned above in Oxygen 19, but still get no translations in Webhelp Responsive.
What am I missing?
Regards,
Stefaan
I also still get no translations in Webhelp Responsive, what can I do?
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: Unable to add new language to WebHelp output (DOTX001W)
Hello,
What version of oXygen XML do you currently use? Please make sure have followed the entire procedure specified two steps above.
Note that you need to run oXygen with administrative rights when you run DITA OT Integrator.
Regards,
Ionela
What version of oXygen XML do you currently use? Please make sure have followed the entire procedure specified two steps above.
Note that you need to run oXygen with administrative rights when you run DITA OT Integrator.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 21
- Joined: Tue Mar 27, 2018 3:46 pm
Re: Unable to add new language to WebHelp output (DOTX001W)
I use the oxygen version 19.
After I set the the args.default.language parameter to my language code, the warning message changes to :
"[DOTX052W]: No string named ' printThisPage ' was found when creating generated text; using the value ' printThisPage ' in your output file"
What can I do next?
After I set the the args.default.language parameter to my language code, the warning message changes to :
"[DOTX052W]: No string named ' printThisPage ' was found when creating generated text; using the value ' printThisPage ' in your output file"
What can I do next?
-
- Posts: 145
- Joined: Mon Jun 12, 2017 10:50 am
Re: Unable to add new language to WebHelp output (DOTX001W)
Post by cosmin_andrei »
Hello,
This is indeed a known issue in v19 and has already been resolved in v19.1, so you can simply update to this version to avoid the issue:
https://www.oxygenxml.com/xml_editor/so ... ditor.html
This is indeed a known issue in v19 and has already been resolved in v19.1, so you can simply update to this version to avoid the issue:
https://www.oxygenxml.com/xml_editor/so ... ditor.html
Regards,
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
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