https://bugzilla.wikimedia.org/show_bug.cgi?id=55768

--- Comment #2 from Papou <[email protected]> ---
(In reply to comment #1)
> (In reply to comment #0)
> > A single SVG file can contain the picture texts for many languages in layers
> > called e.g. nnn.language=ll.
> 
> Can it?

Yes it can. Layers is a basic functionality of SVG and I a often using it.

> I could only find a global "xml:lang" definition in
> http://www.w3.org/TR/SVG/struct.html#LangSpaceAttrs. 

xml:lang doesn't seem designed to use multiple selectable texts, just to
describe the language of some text.

> Any link to the part of the specification?

A suggested "e.g." name that "would probably become a standard" has no link
yet.

>  Displaying a particular language is a matter of
> > its layers visibility.   The [[File: syntax could contain "|language=ll" to
> > make the relevant SVG layers visible.
> 
> This sounds like a hack, 

Unclear.
What is a hack? What in what I say is one and in what way?
Please clarify.

> plus which SVG editors in use would support creating numerous layers to 
> "hide" string translations?

Plus, I'm using Inkscape, the number of layers doesn't seem to be limited and I
very often keep text in a different layer(s). When I want to support another
language, I clone that text layer, make the clone the only visible layer, and
there I go translating it. Of course, I make only one language visible at a
time and if I export the drawing to a PNG, only the visible layers are present.
That is fundamental editor capabilities.
I have suggested Nikola Smolenski that his SVGTranslate could create layers.
The way I produce (export) a PNG file is the way I suggest a wiki could render
a SVG. rsvg could support a lang= parameter.
Are you calling the authors of Inkscape hackers?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to