Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chenycl/chrome-extension-udemy-translate
Translate Udemy's subtitles into Chinese、English etc(Disneyplus+netflix+udemy+lynda+hulu+hbo now+primevideo)
https://github.com/chenycl/chrome-extension-udemy-translate
baidu chinese chrome chrome-extension disneyplus english hbo hbo-translate language lynda-translate media-translate netflix-to-chinese netflix-translate translate udemy yandex youdao
Last synced: 5 days ago
JSON representation
Translate Udemy's subtitles into Chinese、English etc(Disneyplus+netflix+udemy+lynda+hulu+hbo now+primevideo)
- Host: GitHub
- URL: https://github.com/chenycl/chrome-extension-udemy-translate
- Owner: ChenYCL
- Created: 2018-07-31T15:41:21.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T16:19:41.000Z (5 months ago)
- Last Synced: 2025-01-10T08:15:15.860Z (12 days ago)
- Topics: baidu, chinese, chrome, chrome-extension, disneyplus, english, hbo, hbo-translate, language, lynda-translate, media-translate, netflix-to-chinese, netflix-translate, translate, udemy, yandex, youdao
- Language: JavaScript
- Homepage: https://chrome.google.com/webstore/detail/udemy-translate/dechpgocmbnibandhfdpkmfkogmlnbkp?hl=en-US
- Size: 14.8 MB
- Stars: 987
- Watchers: 38
- Forks: 183
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Udemy Translate[![Build Status](https://img.shields.io/badge/README-Chinese-yellow.svg)](README_zh.md)
![GitHub All Releases](https://img.shields.io/github/downloads/ChenYCL/chrome-extension-udemy-translate/total)
![GitHub package.json version (branch)](https://img.shields.io/github/package-json/v/ChenYCL/chrome-extension-udemy-translate/v3.0.0)
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)## About This Extension
This is a powerful Chrome extension that can translate subtitles from any website into different languages in real-time. It's no longer limited to specific video platforms but supports user-defined subtitle translation for any website.
## Intro
https://github.com/user-attachments/assets/8089f430-894f-4abc-9c86-544739ab0f57
https://github.com/user-attachments/assets/de6300f6-af87-441a-9304-dd58b255a17a
## Key Features
- Supports subtitle translation for any website
- Uses OpenAI API for high-quality translation
- Supports locally deployed Ollama AI models
- Users can customize target websites and DOM selectors
- Real-time translation without page refresh
- Supports multi-language translation
- Customizable subtitle style and position
- [ ] Support for third-party professional translation interfaces, as OpenAI and Ollama translation quality is not controllable## Installation Methods
First method: Install from the Chrome Web Store (link to be updated)
Second method: Download from WeChat Official Account or download the source code to build
- Step 1:
Follow the WeChat Official Account: 影音下午茶 and reply '工具下载'
Open your Google Chrome or new version of Edge browser
![Step 1](https://github.com/ChenYCL/chrome-extension-udemy-translate/raw/master/example/step1.png)
- Step 2:
Enable Developer Mode
![Step 2](https://github.com/ChenYCL/chrome-extension-udemy-translate/raw/master/example/step2.png)Results:
![Show](https://github.com/ChenYCL/chrome-extension-udemy-translate/raw/master/example/show.png)
![Show](https://github.com/ChenYCL/chrome-extension-udemy-translate/raw/master/example/netflix.png)
![Show](https://github.com/ChenYCL/chrome-extension-udemy-translate/raw/master/example/lynda.png)
![Show](https://github.com/ChenYCL/chrome-extension-udemy-translate/raw/master/example/hulu.jpg)
## Version
v3.0.0
## Features
- [x] Basic translation
- [x] Netflix video support
- [x] Lynda video support
- [x] LinkedIn video support
- [x] HBO Now video support
- [x] HBO Max video support
- [x] Hulu video support
- [x] Amazon video support
- [x] Paramount+ video support
- [x] Disney+ video support
- [x] simplilearn.com support
- [x] Yandex translation API integration
- [x] Azure Cognitive Services
- [x] OpenAI
- [x] Ollama
- [x] Subtitle styling options## Usage
- After installing the extension, click the extension icon to open the configuration panel
- Choose the translation API (OpenAI or Ollama)
- Enter the necessary API keys or configuration information
- Add the domain of the website you want to translate subtitles for and the corresponding DOM selector
- Save the settings and refresh the target webpage# Configuration Guide
## OpenAI Configuration(also support openai style api: speeddeek,poe2gpt...)
1. Select OpenAI in the configuration panel
2. Enter your OpenAI API key
3. Choose an appropriate model (e.g., gpt-4o-mini)
4. Configure the proxy URL (only support https://api.useaihub.com/v1 , https://api.openai.com/v1## Ollama Local Configuration
1. Install Ollama: Visit [easy-proxy-ollama-https](https://github.com/ChenYCL/easy-proxy-ollama-https) setup
2. recommend qwen2:4b qwen2:0.5b## Custom Website Configuration
1. In the configuration panel, add the domain of the website you want to translate subtitles for
2. Specify the correct DOM selector for that website to locate subtitle elements
3. Save the settings and refresh the target webpage to take effect## Notes
- Ensure you have sufficient API usage quota
- Ollama local deployment requires higher hardware configuration, please choose an appropriate model based on your device performance
- First-time use may require some time to load and initialize the model## Cooperation Promotion
Contact via WeChat Official Account## Welcome to Follow the WeChat Official Account
There are related plugin usage tutorials. Follow and reply 'Translation Tool' to get it. Follow and reply '工具下载' to get the latest version. Regular sharing of audiovisual information worth watching.## Donation Channel ☕️
### Alipay
## Communication
[Telegram Group](https://t.me/joinchat/Gs1RFzD5MpIwJ7S-)## Code Contribution
Contributions are welcome! Just send a PR for fixes and documentation updates, and open an issue for new features beforehand. Make sure tests pass and coverage remains high. Thank you!