Google translate &#39 apostrophe

Google translate does’t not return apostrophes instead it’s this code [&#39]

  • I&#39ve been there. instead of I’ve been there

Please help!
Thanks!!

Hi there, @mehdi3… I don’t know jack about returning stuff from Google translate, but can you use the :find & replace operator on the return value to find [&#39] and replace it with an apostrophe?

Best…
Mike

One could do that but it’s pretty dumb that there’s not a :url decoded operator on texts (which is what @mehdi3 needs).

In case it’s useful to them on the backend, I do have a server-side open source plugin for this here (this doesn’t exist in the front end because I didn’t want to build an element plugin for something as simple as this and client-side actions don’t return values):

1 Like