Textual GUI elements in SVG form

asked 2012-01-18 02:36:45 -0600

Basel Shishani gravatar image

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.

edit retag flag offensive 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 gravatar imagemaebert ( 2012-01-19 10:02:43 -0600 )edit

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

byron gravatar imagebyron ( 2012-01-19 10:17:16 -0600 )edit

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

Evgeny gravatar imageEvgeny ( 2012-01-19 12:03:37 -0600 )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 gravatar imageBasel Shishani ( 2012-01-20 22:38:13 -0600 )edit

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

Evgeny gravatar imageEvgeny ( 2012-01-21 06:28:44 -0600 )edit