File:SystemLanguageLayers.svg

Original file(SVG file, nominally 582 × 235 pixels, file size: 4 KB)

Render this image in .

Captions

Captions

Add a one-line explanation of what this file represents

Summary edit

Description
English: This is a test file illustrating the usage of the SVG <switch> element to translate SVGs based on systemLanguage attribute.
Date
Source Own work
Author Jmarchn
Other versions
SVG development
InfoField
 
The SVG code is valid.
 
This diagram was created with Inkscape.
 
 This diagram is translated using SVG switch elements: all translations are stored in the same file.

Look at here for more information.

SVG draft model code

...
  <g
     inkscape:groupmode="layer"
     id="Layer_draw"
     inkscape:label="Layer_draw"
     ... objects of this layer (circle, text) ...
  </g>
  <switch
     id="Layers_by_language"
     style="display:inline">
    <g
       systemLanguage="ca"
       inkscape:groupmode="layer"
       id="Layer_ca"
       inkscape:label="Layer_ca"
       style="display:inline">
       ... objects of this layer (circle, text tags, arrow) ...
    </g>
    <g
       systemLanguage="en"
       inkscape:groupmode="layer"
       inkscape:label="Layer_en"
       id="Layer_en"
       style="display:inline">
       ... objects of this layer ...
    </g>
    ... other language-layers ...
    <g
       inkscape:groupmode="layer"
       inkscape:label="Layer_other"
       id="layer_other">
       ... objects of this layer ...
    </g>
  </switch>
</svg>



Licensing edit

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current21:48, 27 February 2019Thumbnail for version as of 21:48, 27 February 2019582 × 235 (4 KB)JoKalliauer (talk | contribs)phab:T36947 use fonts above 25px
19:21, 16 February 2019Thumbnail for version as of 19:21, 16 February 2019582 × 235 (17 KB)Jmarchn (talk | contribs)Fixed error in Arabian.
19:17, 16 February 2019Thumbnail for version as of 19:17, 16 February 2019582 × 235 (17 KB)Jmarchn (talk | contribs)Add more messages and objects
19:13, 15 February 2019Thumbnail for version as of 19:13, 15 February 2019695 × 245 (6 KB)Jmarchn (talk | contribs)User created page with UploadWizard

Metadata