How to change the project language?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 517
- Joined: Wed May 20, 2009 2:40 pm
Re: How to change the project language?
Hi,
We need more information in order to help you.
What is the transformation scenario that you use to obtain the output? What do you want to obtain by setting the "project language"?
Best Regards,
Mihaela
We need more information in order to help you.
What is the transformation scenario that you use to obtain the output? What do you want to obtain by setting the "project language"?
Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 158
- Joined: Fri Nov 10, 2017 8:16 am
Re: How to change the project language?
Hi, mihaela
Thanks for your reply.
I have published an English version webhelp and PDF document.
Now, I have created another project, and translated all the contents to Japanese. I need to publish a Chinese version webhelp and PDF document.
I set the args.default.language to zh-cn, but only the icon labels (note, tip, important, etc. ) were changed to Chinese.
Then, I added a Chinese string (strings-zh-cn.xml) in \plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\localization.
I also add in the strings.xml file.
But nothing worked.
How to change the webhelp system language, including the webhelp button (contents, search), search result, feedback, etc?
Thanks for your reply.
I have published an English version webhelp and PDF document.
Now, I have created another project, and translated all the contents to Japanese. I need to publish a Chinese version webhelp and PDF document.
I set the args.default.language to zh-cn, but only the icon labels (note, tip, important, etc. ) were changed to Chinese.
Then, I added a Chinese string (strings-zh-cn.xml) in \plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\localization.
I also add
Code: Select all
<lang xml:lang="zh-cn" filename="string-zh-cn.xml"/>
But nothing worked.
How to change the webhelp system language, including the webhelp button (contents, search), search result, feedback, etc?
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: How to change the project language?
Post by radu_pisoi »
Hi,
The procedure for localizing the WebHelp interface is described in our user manual:
https://www.oxygenxml.com/doc/versions/ ... hing2.html
For the DITA Map PDF transformation scenario you have to add the xml:lang="zh-CN" attribute on the root element of the DITA map.
The procedure for localizing the WebHelp interface is described in our user manual:
https://www.oxygenxml.com/doc/versions/ ... hing2.html
For the DITA Map PDF transformation scenario you have to add the xml:lang="zh-CN" attribute on the root element of the DITA map.
Radu Pisoi
<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
-
- Posts: 158
- Joined: Fri Nov 10, 2017 8:16 am
Re: How to change the project language?
Hi, Radu
Thanks for your help.
I followed the article https://www.oxygenxml.com/doc/versions/ ... hing2.html,
but it didn't work for me, and I found a way to solve it:
It works for me, but some translated contents do not take effect. For example, "Result for" do not take effect. Other translated contents works, i.e. "Search", "Contents" "Note" "tip".
So, any way to solve the problem? I am using Oxygen 18.
BTW, what do you mean "the root element of DITA map", sorry that I am not familiar with DITA. Can you provide detailed instruction of how to change PDF output to Chinese?
Thanks!
Thanks for your help.
I followed the article https://www.oxygenxml.com/doc/versions/ ... hing2.html,
but it didn't work for me, and I found a way to solve it:
- I copied all the labels found in strings-en-us.xml file in DITA-OT-DIR/plugins/[WebHelp_Directory]/oxygen-webhelp/resources/localization, and pasted in the strings-en-us.xml file which was found in DITA-OT_DIR/xsl/common/strings-en-us.xml
- translated all the contents
- Publish a webhelp with zh-cn language
It works for me, but some translated contents do not take effect. For example, "Result for" do not take effect. Other translated contents works, i.e. "Search", "Contents" "Note" "tip".
So, any way to solve the problem? I am using Oxygen 18.
BTW, what do you mean "the root element of DITA map", sorry that I am not familiar with DITA. Can you provide detailed instruction of how to change PDF output to Chinese?
Thanks!
-
- Posts: 158
- Joined: Fri Nov 10, 2017 8:16 am
Re: How to change the project language?
PDF localization is solved! Thanks!
But still have one problem, the contents with bold style do not take effect if I publish PDF document with Chinese version? It is OK if the version is English. How to solve it?
But still have one problem, the contents with bold style do not take effect if I publish PDF document with Chinese version? It is OK if the version is English. How to solve it?
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: How to change the project language?
Hi Catherine,
This could be the font's culprit.
Please double check that the font you are currently using for Chinese version has support for bold characters.
Regards,
Costin
This could be the font's culprit.
Please double check that the font you are currently using for Chinese version has support for bold characters.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 2
- Joined: Wed Apr 10, 2019 5:12 pm
Re: How to change the project language?
Hello,
I've just downloaded Oxygen Editor today and found out that it is a very good program for the documents.
But I have to make not only English documents, but also Russian, and can't find how to change these words in the PDF or HTML output, for example
Chapter 1.
it should be
Глава 1.
I've tried to add <map xml:lang="ru"> in a map attributes, but it didn't help, it is still publishing in English Chapter and etc.
Thank you in advance, waiting for your response.
Aidana.
I've just downloaded Oxygen Editor today and found out that it is a very good program for the documents.
But I have to make not only English documents, but also Russian, and can't find how to change these words in the PDF or HTML output, for example
Chapter 1.
it should be
Глава 1.
I've tried to add <map xml:lang="ru"> in a map attributes, but it didn't help, it is still publishing in English Chapter and etc.
Thank you in advance, waiting for your response.
Aidana.
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
Re: How to change the project language?
In the PDF there are still i18n problems - we are preparing a nightly build with fixes.
Please write on support@oxygenxml.com to get details about how to download it.
The idea will be to change the output language just by setting the xml:lang on the root element or by using the 'default.language' transformation parameter.
Many regards,
Dan
Please write on support@oxygenxml.com to get details about how to download it.
The idea will be to change the output language just by setting the xml:lang on the root element or by using the 'default.language' transformation parameter.
Many regards,
Dan
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