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.
locate-element.mp4
8.28.mp4
- 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
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
Results:
v3.0.0
- Basic translation
- Netflix video support
- Lynda video support
- LinkedIn video support
- HBO Now video support
- HBO Max video support
- Hulu video support
- Amazon video support
- Paramount+ video support
- Disney+ video support
- simplilearn.com support
- Yandex translation API integration
- Azure Cognitive Services
- OpenAI
- Ollama
- Subtitle styling options
- 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
- 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
- Install Ollama: Visit easy-proxy-ollama-https setup
- recommend qwen2:4b qwen2:0.5b
- 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
- 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
Contact via 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.
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!