- From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
- Date: Thu, 21 Apr 2016 22:42:26 +0200
- To: www-svg@w3.org
Chaals McCathie Nevile: ... >Note that the idea of using multiple titles is at risk since it isn't >implemented in browsers. The mechanism that does work is to use >systemLanguage: > > <switch> > <circle r="50" cx="450" cy="100" fill="purple" systemLanguage="jp"> > <title>これは日本語です</title> > </circle> > <circle r="50" cx="450" cy="100" fill="purple" systemLanguage="ru"> > <title>Вот что-то по-русски</title> > </circle> > <circle r="50" cx="450" cy="100" fill="purple" systemLanguage="en"> > <title>This is english</title> > </circle> > <circle r="50" cx="450" cy="100" fill="purple" systemLanguage="fr"> > <title>Voici français, le defaut</title> > </circle> > </switch> > >Which is pretty ugly where you have a real structure to maintain... > >Running the <switch> just for the titles doesn't work in any browser >either :( It is even worse for the root svg element, obviously one cannot put a switch around, one needs to put the switch around the title collection for multilingual documents, which appear quite often for example at wikimedia commons, but due to this problem typically without any text alternative at all. But this was already discussed here years ago - obviously no implementations of the suggestions resulting from this discussion in this mailing list. But this seems to be mainly yet another bug/gap in the usual viewers, not really a problem of SVG recommendations. Olaf
Received on Thursday, 21 April 2016 20:43:15 UTC