Localize parser xml schema error

Post here questions and problems related to oXygen frameworks/document types.
Vangelis31
Posts: 5

Localize parser xml schema error

Tue Sep 26, 2017 1:23 pm

Hello,

Currently xml error message seems to be in French and English (depending of the language preference).

Do you have the Spanish, Portugues and chineese translation ?

Best regards
Radu
Posts: 5088

Re: Localize parser xml schema error

Tue Sep 26, 2017 2:40 pm

Hi,

You probably mean the messages given by the Xerces parser we use to validate XML documents against DTDs and XML Schemas.
Indeed we only translated them in French as the messages are quite technical in nature and the translator needs to know both the language and XML related technologies.
If you want and have the translators available you could try to translate them yourselves.
In the main Xerces JAR library which comes bundled with the Oxygen distribution there is a package org.apache.xerces.impl.msg containing properties files. You can repack the JAR library and add there additional .properties files, for example you can add a DatatypeMessages_es.properties for the Spanish translations of the DatatypeMessages keys. The Xerces library should properly pick them up when validation is done depending on the current language set in Oxygen.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Vangelis31
Posts: 5

Re: Localize parser xml schema error

Tue Sep 26, 2017 2:48 pm

Hi Radu,

Thank's a lot for the quick answer and i was already expecting your answer.

In addition do you have translated Oxygen Menu in Chineese today ?

Best regards.
Radu
Posts: 5088

Re: Localize parser xml schema error

Tue Sep 26, 2017 3:09 pm

Hi,

We also don't have any other part of the Oxygen UI translated to Chinese. We had some plans at some point but they did not come true.
Are you using Oxygen standalone or the Oxygen Author Component?
If there is a potentially large number of people wanting to use it in Chinese we could reconsider this...
Additional languages can be added to Oxygen:

https://www.oxygenxml.com/doc/versions/19.0/ug-editor/changing-user-interface-language.html

but we have lots of strings (about 6000) to translate so it is a big effort.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Vangelis31
Posts: 5

Re: Localize parser xml schema error

Wed Sep 27, 2017 9:00 am

Hi,

We use the component and we will limit the chinese translation to the menu we add.

Thank's a lot for your support.

BR

Return to “SDK-API, Frameworks - Document Types”

Who is online

Users browsing this forum: No registered users and 0 guests