Textual GUI elements in SVG form

So we have three text string that are part of the view that are coded in SVG [.../skins/default/media/images/sprites_source/graphics.svg]: 'example', 'cancel' and 'ASK A QUESTION'. How do you recommend going about localizing them.

If you don't mind me asking this, what's the purpose of having these particular strings as SVG?! It is known that textual GUI elements in graphics form cause issues on many levels including usability, l10n and SEO.

Basel Shishani's avatar
Basel Shishani
asked 2012-01-18 02:36:45 -0500
edit flag offensive 0 remove flag close merge delete


Are you sure you have the most recent version? I only find the ASK A QUESTION-String in the SVG, however it is not part of the output...

maebert's avatar maebert (2012-01-19 10:02:43 -0500) edit

Are you sure, the texts on buttons are html text not images?

byron's avatar byron (2012-01-19 10:17:16 -0500) edit

Also check whether SVG is supported by all browsers, I think it is not.

Evgeny's avatar Evgeny (2012-01-19 12:03:37 -0500) edit

Sorry guys, this was jumping to conclusion on my part. I checked the code tree for the uppercase string and there was only one instance in the SVG file so I assumed that's where it's coming from. Upon inspection of the element I can see the uppercase is coming from CSS text-transform. My gettext translation wasn't getting through because of a fuzzy marker. Thanks for all of you.

Basel Shishani's avatar Basel Shishani (2012-01-20 22:38:13 -0500) edit

No problems, that SVG file is the original source for some of the images used in the skin.

Evgeny's avatar Evgeny (2012-01-21 06:28:44 -0500) edit
add a comment see more comments