Udemy Translate
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
Follow the WeChat Official Account: 影音下午茶 and reply '工具下载'
Open your Google Chrome or new version of Edge browser
- Step 2:
Enable Developer Mode
Results:
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...)
- Select OpenAI in the configuration panel
- Enter your OpenAI API key
- Choose an appropriate model (e.g., gpt-4o-mini)
- Configure the proxy URL (only support https://api.useaihub.com/v1 , https://api.openai.com/v1
Ollama Local Configuration
- Install Ollama: Visit easy-proxy-ollama-https setup
- recommend qwen2:4b qwen2:0.5b
Custom Website Configuration
- In the configuration panel, add the domain of the website you want to translate subtitles for
- Specify the correct DOM selector for that website to locate subtitle elements
- 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
WeChat
Communication
Telegram Group
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!