Hi Yannick,
The original question in this thread was about supporting multiple languages when defining custom Author actions (which appear on contextual menus, main menus or toolbars).
This is indeed supported in Oxygen (probably starting with Oxygen 14.2 afak).
For example if in the Oxygen Preferences->
Document Type Association page you edit the
DITA document type, in the
Author tab there is an
Actions tab. Each action defined there uses as an action name editor variables like
${i18n(bold)} which are then mapped in a special translation XML file:
OXYGEN_INSTALL_DIR\frameworks\dita\i18n\translation.xml
So when a German user for example starts Oxygen and edits a DITA topic, all toolbar actions will have German names and tooltips.
More about this feature can be read in this topic:
http://www.oxygenxml.com/doc/ug-oxygen/ ... works.html
But you seem to want something else.
You want to have a single schema associated to the XML document and somehow have the element names in the schema translated in multiple languages. If I understood you wrong, maybe you could give me additional details.
I do not know how this would work. In an XML Schema the element names need to be present there before it is used to validate and provide content completion for the XML document.
Maybe as a possible solution you could have an XML Schema template file which uses for element names something like
${i18n(elem_name1)}. And then apply an XSLT 2.0 stylesheet on it which reads a certain
translation.xml document and depending on how many languages are present there automatically produces multiple schemas, each one with its own language. All these schemas would be included in a master XML Schema which would serve as the main schema used for validation and content completion.
Regards,
Radu