O'Reilly logo

Sams Teach Yourself SVG in 24 Hours by Micah Laaker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Localizing SVG Graphics

Taking the concept of dynamic graphics one step further, you can “localize” your graphics based upon a user's preferred language. By designing your textual content to draw upon an external data source, your graphic can appear in one of the many languages to which your content has been translated.

For instance, if both English- and Spanish-speaking users frequent your SVG-designed site, you could run a detection script that determines the operating system language of the user. If the user is Spanish-speaking, the graphical navigation bars and page titles could change to accommodate his familiar language.

Such a possibility is quite a selling point for designing your graphical content in SVG. Database-driven content solutions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required