cschiller / zhongwen

Official source code of the "Zhongwen" Chrome extension
https://chrome.google.com/webstore/detail/zhongwen-chinese-english/kkmlkkjojmombglmlpbpapmhcaljjkde
GNU General Public License v2.0
312 stars 52 forks source link

Zhongwen Not Working with Google Documents #86

Open LanguageLeanerJ opened 2 years ago

LanguageLeanerJ commented 2 years ago

I know this is a known issue. Due to Google's update of how their platform works. Does anyone know of a fix or is someone working on a fix to resolve this so Zhongwen works with Google Docs?

Thanks,

frogfish-crypto commented 2 years ago

I don't think it's fixable [https://gizmodo.com/google-docs-update-will-unilaterally-kill-some-chrome-e-1846885167]

chinese-words-separator commented 1 year ago

A work-around to use Chinese pop-up dictionary on Google Docs

work-around-for-google-doc-move-to-canvas-tech

Before hovering the mouse cursor on the pasted text in CWS's Notes, need first to press the Alt key ( option key on mac ), then hover the mouse cursor on the Chinese then the dictionary will pop-up

mkarang commented 1 year ago

A work-around to use Chinese pop-up dictionary on Google Docs

Thanks! I tried it using Chinese Words Separator 8.24.84.730 but nothing shows up upon hovering. Did it just like what you showed (More Tools -> Notes and then paste the chinese there).

mkarang commented 1 year ago

I used Google Doc because it's a convenient way to paste chinese text into browser so that I can use ZhongWen extension. Now I found out I don't have to do that. Just save your txt file locally, and open it directly on the browser (drag the text file to Chrome window). You need to follow this instruction for the hover to work: https://github.com/cschiller/zhongwen/issues/85#issuecomment-1288034588

chinese-words-separator commented 1 year ago

A work-around to use Chinese pop-up dictionary on Google Docs

Thanks! I tried it using Chinese Words Separator 8.24.84.730 but nothing shows up upon hovering. Did it just like what you showed (More Tools -> Notes and then paste the chinese there).

CWS (any extensions for that matter) does not work on first install, you need to reload the site (google docs) in order for the newly-installed extension to work

Forgot to mention, need to press Alt key ( option key on mac ) while hovering the mouse cursor on the pasted Chinese text in CWS's Notes, then the dictionary will pop-up

Tell me if it work or not, I'll try to repro the problem on my side, thanks

chinese-words-separator commented 1 year ago

I used Google Doc because it's a convenient way to paste chinese text into browser so that I can use ZhongWen extension. Now I found out I don't have to do that. Just save your txt file locally, and open it directly on the browser (drag the text file to Chrome window). You need to follow this instruction for the hover to work: #85 (comment)

If you were primarily using Google Docs to use pop-up dictionaries for reading Chinese text; and now that pop-up dictionaries can't work in Google Docs, you can use CWS's Read Offline functionality instead:

image

Here's how Read Offline works:

image

By the way, Read Offline has a Parallel Text functionality, wherein you can see the parallel English text of the Chinese text you pasted or typed. To activate parallel text, press this button: ||, it's next to this button New. See the left portion of screenshot above

mkarang commented 1 year ago

Thank you very much! The 'Read Offline' works well. This is much better than the workaround I wrote about earlier, because it allows you to edit the text too.

The copy and paste into Note still doesn't work for me (already reloaded page, also restarted browser). But it doesn't matter; th Read Offline above is better.

Side note: thank you very much for such a great extension. I really appreciate being able to watch Youtube with the chinese subtitle automatically annotated by your extension with pinyin and it even pauses on the subtitle. Super amazing......