JeffReeves / youtube-stop-translating

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Important Note

As an alternative to this script, you can try setting "OTHER LANGUAGES YOU UNDERSTAND" within Google's My Account settings here:
Google - My Account - Languages

Once you do that, you must either:

  1. Wait for your browser's cache to clear naturally (about 1 - 48 hours).

  2. Clear your browser's cache manually.

Video titles and descriptions in the languages you have selected should no longer be automatically translated on YouTube afterwards.

YouTube Stop Translating

A userscript (Tampermonkey / Greasemonkey) that stops YouTube from translating video titles in foreign languages into your native language.

YouTube Stop Translating

Example

Japanese video titles will no longer translate to Google Translated "English":

Engrish

Japanese

How to Use

This is a two step process:

Step 1 - Generate a YouTube API Key

  1. Go to Google Developer's Console API Library.

  2. Create a new "Project".

  3. Set the Project Name to whatever you want but leave the location as "No organization".

  4. Select "Add APIs & Services", search for "YouTube Data API v3", and click the "ENABLE" or "MANAGE" button.

  5. Select the "Credentials" tab on the left.

  6. Click on the "Create Credentials" button, followed by the "API key" option from the dropdown menu.

  7. When it shows your API key, click on the "RESTRICT KEY" button.

  8. Give the API key a name (ex. "YouTube Stop Translating").

  9. Set "Application restrictions" to "HTTP referrers (web sites)", and click "ADD AN ITEM" three times to add these values:

    https://www.youtube.com/

    https://youtube.com/*

    https://youtu.be/*

  10. Under "API Restrictions", select "Restrict key" and select "YouTube Data API v3" from the drop-down

  11. Click "Save".

  12. Click the copy icon next to the API key to copy it.

Step 2 - Activate this Script

  1. Add the browser extension / plugin "Tampermonkey" (Chrome/Chromium/Edge) or "Greasemonkey" (Firefox) to your browser.

  2. Click YouTubeStopTranslating.user.js to add this userscript to the plugin (or, alternatively, just copy the YouTubeStopTranslating.user.js file's contents into a new userscript).

  3. Open YouTube and paste in your YouTube API key when prompted.

Screenshots

For screenshots of the process, please see the ORIGINAL README

Credit

Forked from pcouy's "YouTubeAutotranslateCanceler" under the MIT license.

About

License:MIT License


Languages

Language:JavaScript 100.0%