Custom actions i18n in Component
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 24
- Joined: Tue Jun 05, 2012 10:34 am
Custom actions i18n in Component
Hi again, it seems that custom actions are not internationalized in Oxygen Component.
My framework work well with Author version and my translation is ok. But in Component version, i'm using 2 methods of the AuthorComponentProvider class.
getAuthorCommonActions gives me actions with translation but
getAuthorExtensionActions gives me actions with keys only. It seems that the translation.xml file is not used.
Thanks for all,
Benoît Chéry.
My framework work well with Author version and my translation is ok. But in Component version, i'm using 2 methods of the AuthorComponentProvider class.
getAuthorCommonActions gives me actions with translation but
getAuthorExtensionActions gives me actions with keys only. It seems that the translation.xml file is not used.
Thanks for all,
Benoît Chéry.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Custom actions i18n in Component
Hi Benoit,
The Author Component Sample Project has a "resources" folder in which there is a frameworks.zip.jar. Are you sure that the entire up-to-date directory of your framework is properly packed (including the translation file) into the file frameworks.zip.jar? This would explain also your other problem, with the styles filter extension not working.
If possible you can also send us directly (support@oxygenxml.com) the entire frameworks.zip.jar and we'll try to take a look at it.
Regards,
Radu
I suspect the same thing, when the component fails to translate the key it falls back to the actual key value.It seems that the translation.xml file is not used.
The Author Component Sample Project has a "resources" folder in which there is a frameworks.zip.jar. Are you sure that the entire up-to-date directory of your framework is properly packed (including the translation file) into the file frameworks.zip.jar? This would explain also your other problem, with the styles filter extension not working.
If possible you can also send us directly (support@oxygenxml.com) the entire frameworks.zip.jar and we'll try to take a look at it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 24
- Joined: Tue Jun 05, 2012 10:34 am
Re: Custom actions i18n in Component
Hi radu, the package of my framework should be correct while it works fine in Author.
I've just test that the xsl whick should be used for pasting external content is also not used.
There should be a path problem.
I will send you the frameworks.zip.jar file without the libs, cause that's too big.
Thanks,
Benoît.
I've just test that the xsl whick should be used for pasting external content is also not used.
There should be a path problem.
I will send you the frameworks.zip.jar file without the libs, cause that's too big.
Thanks,
Benoît.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Custom actions i18n in Component
Hi Benoit,
Sorry for the delay, we are getting close to releasing Oxygen 14.1 so it's a very busy time for us.
I will try to prepare an email for you in an hour. When we find a solution we'll also update the forum thread with it.
Regards,
Radu
Sorry for the delay, we are getting close to releasing Oxygen 14.1 so it's a very busy time for us.
I will try to prepare an email for you in an hour. When we find a solution we'll also update the forum thread with it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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