Skip to content

zpix1/yt-anti-translate

Repository files navigation

YouTube Anti Translate

Source code of YouTube Anti Translate Chromium Extension created by zpix1, And YouTube Anti Translate - mv3 Firefox Extension mantained by namakeingo.

All the people involved were annoyed by YouTube changing video titles to poorly user-translated versions. While it might be useful if you do not know the language, it quickly becomes annoying once you do. As there is no option provided by YouTube to disable it, we made this extension to retrieve original titles and change them back. As YouTube later got even more annoying with translated descriptions, audio (dubbing) and channel branding, the extension was expanded to untranslate that too.

It is much easier to use than its analogues (such as YoutubeAutotranslateCanceler), because it does not require any YouTube API keys (for core features) or additional userscript extensions.

Features

  • Restores original video titles on YouTube (Title Anti-Translation)
  • Restores original video descriptions on YouTube (can be toggled in settings "Untranslate description")
  • Disables automatic audio (dubbing) translation (can be toggled in settings "Untranslate audio track")
  • Restores original channel branding header and about on YouTube (can be toggled in settings "Untranslate channel branding")
  • Untranslates YouTube Shorts audio and titles
  • Works automatically without any configuration

Enhanced Features Reliability Option

In the extension settings, you can optionally provide a YouTube Data API Key. Although this is optional, it is reccomended.

When that is populated, some features work more reliably. Read more on how to obtain

How to use

If using Chrome/Edge or other Chromium browsers, install it from Chrome Web Store. If using a Firefox browser, install it from Firefox Extensions Store.

There's also a Firefox Manifest v2 version (maintained by artisticfox8) compatible with Firefox versions order than v109.0. However, it is currently outdated, as it was last updated on Aug 2, 2024 and is missing features because of that.

Development Setup

  1. Clone this repository
  2. Navigate to the cloned folder and run the following command in a terminal window npm ci
  3. Open with the IDE editor of choice
  4. You can verify functionality by running Playwright Test (make sure you install Playwright extensions for your IDE if needed)
    • Before running the tests, you will need to install playwright browsers and dependencies npx playwright install --with-deps
    • Please create or update tests if adding new capabilities

Testing in Browser

  • Chrome

    1. Open Chrome and navigate to chrome://extensions/
    2. Enable "Developer mode"
    3. Click "Load unpacked" and select the app directory from this repository
  • Firefox

    1. Create a .zip of app directory (Note that manifest.json must be at the root of the archive)
    2. Open Firefox and navigate to about:addons
    3. Click the gear icon, click on "Install Add-on from File", select the zip file you created in step 1

Contributing

Contributions are welcome! Here's how you can help:

  1. Report bugs: If you find any issues, please open an issue in this repository
  2. Suggest features: Have an idea to improve the extension? Let me know by opening an issue
  3. Submit code: Feel free to fork the repository and submit pull requests
  4. Join our Discord server: You can also join our Discord server to discuss development and contribute.

Support

If this extension really helped you, consider supporting the original creator at their donation page.

You can also show your support by:

Contributors

About

Chrome extension to disable youtube video titles autotranslation

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 7