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:
-
Wait for your browser's cache to clear naturally (about 1 - 48 hours).
-
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.
A userscript (Tampermonkey / Greasemonkey) that stops YouTube from translating video titles in foreign languages into your native language.
Japanese video titles will no longer translate to Google Translated "English":
This is a two step process:
-
Create a new "Project".
-
Set the Project Name to whatever you want but leave the location as "No organization".
-
Select "Add APIs & Services", search for "YouTube Data API v3", and click the "ENABLE" or "MANAGE" button.
-
Select the "Credentials" tab on the left.
-
Click on the "Create Credentials" button, followed by the "API key" option from the dropdown menu.
-
When it shows your API key, click on the "RESTRICT KEY" button.
-
Give the API key a name (ex. "YouTube Stop Translating").
-
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/*
-
Under "API Restrictions", select "Restrict key" and select "YouTube Data API v3" from the drop-down
-
Click "Save".
-
Click the copy icon next to the API key to copy it.
-
Add the browser extension / plugin "Tampermonkey" (Chrome/Chromium/Edge) or "Greasemonkey" (Firefox) to your browser.
-
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).
-
Open YouTube and paste in your YouTube API key when prompted.
For screenshots of the process, please see the ORIGINAL README
Forked from pcouy's "YouTubeAutotranslateCanceler" under the MIT license.