ChenYCL / chrome-extension-udemy-translate

Translate Udemy's subtitles into Chinese、English etc(Disneyplus+netflix+udemy+lynda+hulu+hbo now+primevideo)
https://chrome.google.com/webstore/detail/udemy-translate/dechpgocmbnibandhfdpkmfkogmlnbkp?hl=en-US
977 stars 183 forks source link

在netflix无法支持日语和韩语,请支持 #23

Closed ybnedsi closed 3 months ago

ybnedsi commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

ChenYCL commented 4 years ago

https://github.com/ChenYCL/chrome-extension-udemy-translate/releases/tag/v2.0.1 这个版本可选择日语或者韩语,已做日语测试,可以测试下,如有问题可反馈 提供的样式为 原字幕+译文,译文支持多语言

ybnedsi commented 4 years ago

https://github.com/ChenYCL/chrome-extension-udemy-translate/releases/tag/v2.0.1 这个版本可选择日语或者韩语,已做日语测试,可以测试下,如有问题可反馈 提供的样式为 原字幕+译文,译文支持多语言

英语、葡萄牙语都是正常的,但是切换到日韩就不行了,会卡在先前英语界面,无翻译

1 2
ChenYCL commented 4 years ago

配置生效后,刷新一次页面再看看

ChenYCL commented 4 years ago

image 英文->韩 显示正常

ChenYCL commented 4 years ago

image 英文->日 ok 配置语言切换后,需要等1-2s ,没有刷新页面我这边,而且有几率失效,目前

ybnedsi commented 4 years ago

image 英文->日 ok 配置语言切换后,需要等1-2s ,没有刷新页面我这边,而且有几率失效,目前

谢谢大佬,其它语言转日韩文没有问题,就是日韩文转其它语言有问题。

当前视频页面类型: netflix contentScript.bundle.js:1 Content script works! contentScript.bundle.js:1 Must reload extension for modifications to take effect. contentScript.bundle.js:1 ===> FROM THE PRINT MODULE: Using a function from the Print Module cast_sender.js:2 GET chrome-extension://invalid/ net::ERR_FAILED cast_sender.js:2 GET chrome-extension://invalid/ net::ERR_FAILED none:6 No cast extension found 

ChenYCL commented 4 years ago

这个后面应该能解决掉,目前猜测,无法识别源语言,加个当前源语言选项就行了

ybnedsi commented 4 years ago

个当前源语言选项就行

辛苦了,谢谢。 下面是chrome 的调试记录 DevTools failed to parse SourceMap: chrome-extension://ncennffkjdiamlpmcbajkmaiiiddgioo/js/xl-content.js.map 8 [Violation] 'setTimeout' handler took ms [Violation] 'setTimeout' handler took 90ms [Violation] 'setTimeout' handler took 109ms none:7 [Violation] 'setTimeout' handler took 56ms [Violation] 'setTimeout' handler took 154ms cadmium-playercore-6.0022.420.011.js:1 [Violation] 'setTimeout' handler took 54ms [Violation] 'setTimeout' handler took 115ms cadmium-playercore-6.0022.420.011.js:1 [Violation] 'setTimeout' handler took 54ms [Violation] 'setTimeout' handler took 125ms 10 [Violation] Forced reflow while executing JavaScript took ms [Violation] Forced reflow while executing JavaScript took 81ms [Violation] Forced reflow while executing JavaScript took 98ms [Violation] Forced reflow while executing JavaScript took 483ms [Violation] Forced reflow while executing JavaScript took 43ms [Violation] Forced reflow while executing JavaScript took 129ms [Violation] Forced reflow while executing JavaScript took 211ms [Violation] Forced reflow while executing JavaScript took 31ms [Violation] Forced reflow while executing JavaScript took 107ms [Violation] Forced reflow while executing JavaScript took 304ms [Violation] Forced reflow while executing JavaScript took 117ms

denyot commented 4 years ago

我这用的2.1版本,从日语到中文简字也不行。 英语到中文正常

nancheung commented 4 years ago

日韩翻译到中字确实不行,试了好几个版本