ChenYCL / chrome-extension-udemy-translate

Translate Udemy's subtitles into Chinese、English etc(Disneyplus+netflix+udemy+lynda+hulu+hbo now+primevideo)

Home Page:https://chrome.google.com/webstore/detail/udemy-translate/dechpgocmbnibandhfdpkmfkogmlnbkp?hl=en-US

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Udemy Translate

Udemy Translate

Build Status GitHub All Releases GitHub package.json version (branch) MIT Licence

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

locate-element.mp4
8.28.mp4

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

  • Step 2: Enable Developer Mode Step 2
image

Results:

Show

Show

Show

Show

Version

v3.0.0

Features

  • 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

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 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

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!

About

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

License:MIT License


Languages

Language:JavaScript 60.0%Language:TypeScript 35.9%Language:HTML 2.7%Language:SCSS 1.5%