I am developing buttons with multilingual support (swedish, english)
for SVGT. The idea is the
button text should adapt itself according to the locale langauage of
the mobile.
I tested this using systemLanguage feature in switch element as
follows.
<g font-size="25pt">
<switch>
<g systemLanguage="en-UK">
<text x="10" y="30">English.</text>
</g>
<g systemLanguage="sv">
<text x="10" y="30">Svensksa.</text>
</g>
</switch>
</g>
I used OpenWave mobile Simulator V7 who support displaying SVGT
content. Text in the appropriate language is displayed based on the
current language of mobile simulator. It works in IE too. However all
SE K750/K600/V800 only display swedish text even after setting
English as the phone language. Any thoughts!
Is it the problem with Sony Ericsson devices or the SVG player?
Below is a sample file for reference.
Regards,
Salmi
=============================================================
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"
http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="375px" height="200px" viewBox="0 0 375 200">
<title>Use of switch element</title>
<g font-size="25pt">
<switch>
<g systemLanguage="en-USA">
<text x="10" y="30">English USA</text>
</g>
<g systemLanguage="en-UK">
<text x="10" y="30">English UK</text>
</g>
<g systemLanguage="en">
<text x="10" y="30">English</text>
</g>
<g systemLanguage="sv">
<text x="10" y="30">Svenksa</text>
</g>
</switch>
</g>
</svg>
===============================================================