Translate text in SVG doesn't work

394 views
Skip to first unread message

Mikhail Petrushevskiy

unread,
Oct 21, 2015, 4:54:17 AM10/21/15
to Google Translate API Developer Forum
It is example ( https://905755de82a95cc2ad45da6d057342856b7af011.googledrive.com/host/0B2GQktu-wcTidVBwOEp6TnJpSlE/ ). If you will delete  class "notranslate" to translate text in svg, it doesn't work! Why doesn't text translate in svg??? 

Patrice (Google Cloud Support)

unread,
Oct 21, 2015, 11:23:17 AM10/21/15
to Google Translate API Developer Forum
Hi Mikhail,

Could it be that you changed the code and your browser was using a cached version of the page? Because I just tried and the SVG "notranslate" didn't get translated. From your example, the only thing that got translated was the last line at the bottom, as it seems to say it should.

If you could clarify, I'd be happy to look further into this.

Cheers!

Mikhail Petrushevskiy

unread,
Oct 22, 2015, 5:58:01 AM10/22/15
to Google Translate API Developer Forum
Why does google not translate text in svg? Is it feature?

Mikhail Petrushevskiy

unread,
Oct 22, 2015, 5:59:14 AM10/22/15
to Google Translate API Developer Forum
I mind withot "notranslate" class

Patrice (Google Cloud Support)

unread,
Oct 22, 2015, 9:48:00 AM10/22/15
to Google Translate API Developer Forum
Hi Mikhail,

I did misunderstand your question, sorry, I thought you were asking the opposite.

Your example says that the text in SVG has the notranslate class but gets translated, your question here asks the opposite. Do you mind deleting the "notranslate" class from your example to properly reproduce what is problematic for you?

Cheers!
Message has been deleted

Mikhail Petrushevskiy

unread,
Oct 27, 2015, 8:28:37 AM10/27/15
to Google Translate API Developer Forum
Yes, I mind it

Mikhail Petrushevskiy

unread,
Oct 27, 2015, 8:29:04 AM10/27/15
to Google Translate API Developer Forum
Without class "notranslate" the text in svg is not translate. 

Mikhail Petrushevskiy

unread,
Oct 30, 2015, 7:19:02 AM10/30/15
to Google Translate API Developer Forum
I added attachment

Example.zip
Reply all
Reply to author
Forward
0 new messages