Translation issue
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 168
- Joined: Fri Jan 20, 2017 1:11 pm
Translation issue
Hello everyone,
I am using the Oxygen SDK 21.1.0.2 and I have noticed an issue in English translation.
For the action insert paragraph, the English description is
Regards,
Isabelle
I am using the Oxygen SDK 21.1.0.2 and I have noticed an issue in English translation.
For the action insert paragraph, the English description is
instead ofInsert a new paragraph in the document (Ctrl+maj+P)
In English it is not Maj but Shift.Insert a new paragraph in the document (Ctrl+Shift+P)
Regards,
Isabelle
-
- Posts: 417
- Joined: Mon May 09, 2016 9:37 am
Re: Translation issue
Post by sorin_carbunaru »
Hello,
Unfortunately I don't know exactly what you trying to do, but a colleague of mine suggested that you may be integrating the Author Component. Is that right?
If you do, after the UI language is set ( I suppose there is something like "Locale.setDefault(locale) )", you could try doing the following:
This should also set the right language for the key strokes.
Let me know how it goes.
Best wishes,
Sorin Carbunaru
oXygen XML
Unfortunately I don't know exactly what you trying to do, but a colleague of mine suggested that you may be integrating the Author Component. Is that right?

Code: Select all
try {
Field resourcesField = Toolkit.class.getDeclaredField("resources");
resourcesField.setAccessible(true);
//Use reflection to avoid dependencies on sun packages.
Method rbInstanceGetter = Class.forName("sun.util.CoreResourceBundleControl").getMethod("getRBControlInstance", (Class[])null);
resourcesField.set(null, ResourceBundle.getBundle("sun.awt.resources.awt",
(Control) rbInstanceGetter.invoke(null, (Object[])null)));
} catch(Throwable t) {
logger.warn("Could not use specific locale for Toolkit; using the default platform locale.", t);
}
Let me know how it goes.
Best wishes,
Sorin Carbunaru
oXygen XML
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