Keywords: SystemLanguage.svg DISPLAYTITLE File systemLanguage svg en This is a test file illustrating the usage of the SVG <code><switch></code> element to translate SVGs based on <code>systemLanguage</code> attribute de Diese Testdatei zeigt die Verwendung des SVG <code><switch></code> Elements um SVGs an Hand des <code>systemLanguage</code> Attributs zu übersetzen ;Usage To embed a file in a specific language use the <code>lang xy</code> parameter where <code>xy</code> is a valid https //doc wikimedia org/mediawiki-core/master/php/html/Names_8php_source html MediaWiki language code <br /> <code><nowiki>File systemLanguage svg xy</nowiki></code> ;SVG 1 1 Specification http //www w3 org/TR/SVG11/struct html SwitchElement The ˜switch ™ element http //www w3 org/TR/SVG11/struct html ConditionalProcessingSystemLanguageAttribute The ˜systemLanguage ™ attribute own 2013-12-07 Patrick87 <gallery widths 200px heights 88 caption This file rendered in different languages > systemLanguage svg de <code>lang de</code> systemLanguage svg en <code>lang en</code> systemLanguage svg es <code>lang es</code> systemLanguage svg fr <code>lang fr</code> systemLanguage svg it <code>lang it</code> systemLanguage svg cs <code>lang cs</code> systemLanguage svg tl <code>lang tl</code> systemLanguage svg xy Invalid or unavailable language <code>lang xy</code> </gallery> Information field SVG source <syntaxhighlight lang xml > < xml version 1 0 encoding utf-8 > <svg xmlns http //www w3 org/2000/svg width 320 height 140 style font-family sans-serif;font-size 30px > <text x 30 y 50 >systemLanguage </text> <g transform translate 30 110 fill red > <switch allowReorder yes > <text systemLanguage de >de</text> <text systemLanguage en >en</text> <text systemLanguage es >es</text> <text systemLanguage fr >fr</text> <text systemLanguage it >it</text> <text systemLanguage cs >cs</text> <text systemLanguage tl >tl</text> <text>other</text> </switch> </g> </svg> </syntaxhighlight> Translate yes MediaWiki localisation Technical examples Examples representing SVG |