Git Product home page Git Product logo

polyglot's Issues

Polyglot doesn't work with Safari Reader View Mode

When in Safari's Reader View Mode which turns the background of text-based articles black and the text to white for easier reading, Polyglot does not work. Keyboard shortcut key doesn't work, right-click -> "Translate" does not work, and I don't see any "Translate" button on the toolbar - is it the Polyglot button? If it is, that doesn't do anything either.

Here is a picture of what the address bar looks like when in Reader View Mode. To get into/out of the mode, click on the icon containing four-lines of left-justified text on the left side of the address bar.
screenshot 2017-04-02 13 38 22

Not working with Safari 13

I updated Safari to version 13, installed Polyglot from the Mac App Store (version 3.0.1) and it doesn't work.
There is no icon in the browser. The configured keyboard shortcut does not work.
How can I diagnose where the problem is?

Keyboard shortcuts doesn't work

Hello!
In the last Polyglot 2.0.1 keyboard shortcuts, which set up in Safari settings, as well as ` symbol, does not work (Safari 10.0.3, macOS 10.12.3).
Could you please check?

Add context menu to translate whole page?

Describe the solution you'd like
Sometimes, after translating using Selection I decide that I would rather translate the Whole Page.

Describe alternatives you've considered
I have previously used the Translate extension from SideTree.com

Possible solutions

  1. (preferred) in-place translation
    https://www.w3schools.com/howto/howto_google_translate.asp
  2. redirection translation
    javascript:location='http://translate.google.com/translate?langpair=auto|en&u='+encodeURIComponent(location)

Readability still not good

Describe the bug
Select text where popup appears over dark background

To Reproduce

  1. Go to https://mobile.twitter.com/kainanp/media
  2. Scroll down to a tweet that features dark images
  3. Select text for translation
  4. Try to read popup

Expected behaviour
Should be easy to read popup

Screenshots
Screen shot 2019-07-24 at 18 20 35

Version (please complete the following information):

  • Version
    3.0 (3.0.1) MAS

Is this still active?

The extension actually doesn't do anything at all for me currently. Running Sierra 10.12.5 Beta 2

Text to speech for pronunciation

Sometimes when you translate some word, you may want to hear its pronunciation to learn the word better.

We may add some buttons somewhere into the translation panel for pronunciations.

audio

When you click the audio icon it pronounces the selected text.

Change shortcut

Hi,

The extension is very helpful, however the key shortcut choices are pretty limited (I use sometimes and it prevents the default behavior)

Is there a way to change it to something of our choice? Thanks

Polyglot 3

Mac App Store version of Polyglot.

Current status

Shipped.

Remaining Tasks

  • Rewrite global script codebase in Swift
  • Rewrite content scripts to communicate with Swift extension handler.
  • Toolbar Icon
  • Context menu

Future work

  • Synonyms support

Option to translate in the opposite direction?

Describe the solution you'd like
Mostly I want to translate from Japanese into English.
I select text and this is what happens.

Sometimes I want to translate from English into Japanese.
It would be cool if I could hold alt and select text to translate this opposite way.

But, what bout Auto Detect?
Well, maybe there needs to be a preference for Alternate direction language?

Mockup screenshot
Screen shot 2019-08-11 at 17 54 53

Transliteration

Show transliteration of source text that allow us to figure out how it be pronounced.

Not supported in Safari 13

When I upgraded to Safari 13, I noticed the Polyglot extension was one of the ones removed. It is such a helpful extension to me; I'd love to see it updated!

Translation doesn't pop-up

Whenever I select a text and click on translate, it just never appeared.
macOS High Sierra
Version 10.13.6
Safari

Maybe a 'copy' button

This plugin works really great on most time. But I do hope there is copy button! Just like this:
Artboard
In this picture, (a) is when I want to copy the translated words now, and if there is a copy button like (b)(maybe look like this, whatever). It will be much more easier to copy the translated words!

No translation, loading infinitely

screenshot_translate-ext

If I try to translate something, in the popup view me the loading infinitely (see above screenshot).
Do you have a fix about it?
Thanks.

Error in injected.entry.js on line 8231

There is error in injected.entry.js on line 8231:
var applyKey = settings.keyValue.charCodeAt(0) === e.keyCode;

It fires any time key pressed.

Polyglot version is 2.0.1 and Safari 11.0 (13604.1.38.1.6).

2017-09-28 13 04 23

`undefined` result

Sometimes, I try to translate a word, but the result always was undefined.
Restarting OS & Browser was ineffective.
I using Safari 11.0.3.

Extension expired / can't install new

Safari just disabled an older version of the Polyglot extension & moved it to the trash. Trying to install the new one released 10 days ago fails

Words limit

Hi there,
The limitations of the interface call made me feel very hard, so I modified the api that was called, but I can't package it. Can you help me?
Tks

Key press debugging is still activated

Describe the bug
There is still key press debug logging activated.

To Reproduce
Steps to reproduce the behavior:

  1. Open web inspector
  2. Press a key on page
  3. Watch console log

Expected behavior
No key press debugging

Screenshots
Screen shot 2019-07-19 at 14 53 46

Wrong default value for `Instant translation` feature in Settings Panel

On a fresh installed Polyglot instance I'm observing the following behavior:

On Settings panel it shows the Instant translation feature disabled, but in reality it is enabled (I select text on any webpage and I show the tooltip).

If I uncheck and then check again the setting the feature gets disabled.


screen shot 2019-01-26 at 4 09 11 pm

[REQ] only translate "foreign" text

It would be great if the extension only translated "foreign" text

ideas:

  • pages that have a different locale than target translation language (or user Safari/macOS locale?)
  • if translation output is the same as input

screen shot 2018-08-05 at 22 35 55

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.