Page 1 of 1

Automatic extraction of language layers in an SVG

Posted: Thu Nov 23, 2023 2:46 pm
by Sergio_7
Dear team,

I would like to request a feature on the topic "Automatic extraction of language layers in an SVG".

Exemplary initial situation:
- I have a single SVG graphic with several language layers (e.g. de, en, fr, es, zh).
- The language layers have their own translation of the content and are marked accordingly with "xml:lang" as an attribute or ID (e.g. <g xml:lang="en-us" .../> or id="en-us").

Desired result:
- During the transformation to html/pdf/md etc, the xml:lang attribute in the SVG is read and compared with the dita source instance.
- The output then only shows the language level that was assigned in the topic under <topic xml:lang="en-us">. Other language layers are hidden.

Benefit of the feature:
This procedure reduces the number of individual graphics and the maintenance effort for image-intensive documentation. It is particularly suitable for software-heavy documentation that has to explain each individual element to the user in several languages.

Thank you for your feedback on this feature request.
If this feature already exists, please refer to the corresponding link.
Thank you very much!

Best regards
Sergio_7

Re: Automatic extraction of language layers in an SVG

Posted: Fri Nov 24, 2023 11:21 am
by julien_lacour
Hello Sergio_7,

I created the feature request on our tracking system. We will analyze it.
I will notify this thread with every step of the analysis and if something become available.
Thank you for your request.

Regards,
Julien