Polyglot icon indicating copy to clipboard operation
Polyglot copied to clipboard

Translation fails when text contains link

Open gingerbeardman opened this issue 4 years ago • 9 comments

Describe the bug Translation fails when text contains link

To Reproduce Steps to reproduce the behavior:

  1. Go to https://github.com/uetchy/Polyglot/blob/master/README.md
  2. Select first item of Setup list

Expected behavior

  • translation

Actual behavior

  • no translation

Screenshots

Screen shot 2021-05-24 at 13 29 24

Version (please complete the following information):

  • Safari 14.1 (16611.1.21.161.6)
  • Polyglot 3.4
  • macOS 11.3.1 (20E241)

gingerbeardman avatar May 24 '21 12:05 gingerbeardman

Hi, @gingerbeardman Matt, i don't see any translation problems here. Maybe it's because I have a different version of Safari?

  • Safari v.14.1 (16611.1.21.161.6)
  • macOS v.11.3.1 (20E241)
  • Polyglot v.3.4

Screen_1

Oleg-Chashko avatar May 24 '21 12:05 Oleg-Chashko

Matt, sometimes I've noticed that Apple can update the browser "out of sight", but not update the MacOS system. Like an emergency security update or internal Safari settings, without warning the user. Because of this, I write the full version number of the example: Safari v.14.1 (16611.1.21.161.6)

Oleg-Chashko avatar May 24 '21 13:05 Oleg-Chashko

Have edited my app versions above.

Also, here's a screen recording: https://imgur.com/a/1bazwLB

Only difference is that I use instant translate, rather than the Polyglot button.

gingerbeardman avatar May 24 '21 13:05 gingerbeardman

Have edited my app versions above.

Also, here's a screen recording: https://imgur.com/a/1bazwLB

Only difference is that I use instant translate, rather than the Polyglot button.

And here, instant transfer, no button.

Screen Shot 2021-05-24 at 16 06 25

Screen_2

Oleg-Chashko avatar May 24 '21 14:05 Oleg-Chashko

The worst type of bug, one that's difficult to reproduce!

gingerbeardman avatar May 24 '21 15:05 gingerbeardman

The worst type of bug, one that's difficult to reproduce!

Completely agree with you, if you're not hard to put (Auto detect) and (Russian) language and see if the result. Maybe it depends on what language you translate to?

Screen Shot 2021-05-24 at 17 25 08

Oleg-Chashko avatar May 24 '21 15:05 Oleg-Chashko

You are translating from English into English. If I translate from Russian into Russian there will be a problem as you have. Where this app takes the words, the word is not there. I think that's the secret of this phenomenon. Example: Screen_3

Oleg-Chashko avatar May 24 '21 15:05 Oleg-Chashko

Yes! Good catch.

gingerbeardman avatar May 24 '21 15:05 gingerbeardman

Yes! Good catch.

He who seeks, he will always find. The main thing is to never give up. :) It was my pleasure to help you.

Oleg-Chashko avatar May 24 '21 15:05 Oleg-Chashko