Page 1 of 1

Localize parser xml schema error

Posted: Tue Sep 26, 2017 1:23 pm
by Vangelis31
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

Re: Localize parser xml schema error

Posted: Tue Sep 26, 2017 2:40 pm
by Radu
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

Re: Localize parser xml schema error

Posted: Tue Sep 26, 2017 2:48 pm
by Vangelis31
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.

Re: Localize parser xml schema error

Posted: Tue Sep 26, 2017 3:09 pm
by Radu
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/ ... guage.html

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

Regards,
Radu

Re: Localize parser xml schema error

Posted: Wed Sep 27, 2017 9:00 am
by Vangelis31
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