Automatic extraction of language layers in an SVG

Are you missing a feature? Request its implementation here.
Sergio_7
Posts: 4
Joined: Fri Sep 15, 2023 9:56 am

Automatic extraction of language layers in an SVG

Post 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
julien_lacour
Posts: 498
Joined: Wed Oct 16, 2019 3:47 pm

Re: Automatic extraction of language layers in an SVG

Post 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
Post Reply