mirror of
https://github.com/YouG-o/YouTube-No-Translation.git
synced 2026-04-25 10:05:54 +03:00
[GH-ISSUE #34] Issue: some youtube videos still get translated (Url to Video and Channel providet) #31
Labels
No labels
ToDo
bug
enhancement
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/YouTube-No-Translation#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sgtdeagle on GitHub (Jun 9, 2025).
Original GitHub issue: https://github.com/YouG-o/YouTube-No-Translation/issues/34
Originally assigned to: @YouG-o on GitHub.
Description
i have a Youtube Video / Channel in me feed that is still translated to German even it should be in english.
In his Channel are some more that still get Translated
Youtube video: https://www.youtube.com/watch?v=OjCFE-1n2l8
Youtube Channel: https://www.youtube.com/@SalemTechsperts
Steps to Reproduce (if you noticed a specific pattern)
Screenshots (Optionnal)
Environment
@YouG-o commented on GitHub (Jun 11, 2025):
I'm aware of this issue.
Here’s the situation: the extension uses YouTube’s oEmbed API to fetch the original titles when you’re browsing (like on the homepage, subscriptions, etc.). It’s a lightweight and efficient solution, but it has a limitation: it doesn’t work for videos where embedding is disabled. This can happen for things like age-restricted videos, private videos, or when the uploader explicitly disables embedding.
Fortunately this only affects a very small percentage of videos. And if you actually open the video, the extension switches to using YouTube’s Player API, which does have access to the original title, even for these edge cases. So, once you’re on the video page, the title should display correctly.
Now, about potential solutions for browsing views:
YouTube Data API:
This could solve the issue since it provides access to metadata for almost all public videos. But there’s a catch: it requires an API key. Users would need to go through the process of obtaining their own API key from Google and configuring it in the extension. It’s not the most user-friendly solution.
Scraping the video page:
Another option would be to scrape the video’s watch page in the background to extract the original title. However, this comes with a significant performance cost. Downloading the entire HTML of a video page just to grab a single title is pretty heavy, especially if you’re browsing a page with lots of videos. It could slow things down and increase resource usage, so I’m not sure it’s worth it for such a small percentage of videos.
I may add thoses as optionnal features in the future if people show interest.
@tommodev-ctrl commented on GitHub (Jun 17, 2025):
I would like to point out a little thing: today, when I first opened YT, a title was being translated. However, a refresh fixed this. So I'm not sure if this is a embed-related thing.
In addition, adding an option to use a YT API key would be very appreciated on my side. I remember seeing YouTube Anti Translate allowing the insert of a YT API key for advanced options.
@YouG-o commented on GitHub (Jun 17, 2025):
@tommodev-ctrl , I probably need to improve my (sh*ttys) observers, most likely the reaseon you saw translated titles..
I'll try to add YouTube Data API support in a near future.
But I'm also working on an alternative. I found out that I can use the player API outside of a video page, so I can use it to get video info (original title, description, etc.). It doesn't seem to have a huge impact on performance since it doesn't really load the player but only fetches metadata, though I still need to test it more. I made a feature to get video descriptions on the search page, and it works fine. I'll release it as a BETA so more people can test it and give feedback. If no one complains about performance, I'll also add it as an optional fallback when getting original titles with the oEmbed API fails.
It's more user-friendly for regular users since they don't need to get an API key.
But I still plan to add YouTube Data API support for advanced users, as it's a more proper way than this hacky method.
@tommodev-ctrl commented on GitHub (Jun 17, 2025):
This is interesting. Contact me if you'll ever need some help testing it.
@sgtdeagle commented on GitHub (Jun 17, 2025):
i have some new strange thing happening,,, it Translated the Title to German AND added the English one directly behind it. Tooltip is corectly in original Language.
Version
2.3.20
Zuletzt aktualisiert
17. Juni 2025
video URL : https://www.youtube.com/watch?v=NRIBQwjmZzA
@YouG-o commented on GitHub (Jun 17, 2025):
This specific bug should be fixed :
4091eb6366It will be available in next update.
@YouG-o commented on GitHub (Jun 18, 2025):
So v2.4.0 is available and it fixes your initial issue with some titles not being translated. As I said I added a fallback using player api to get the few titles failing with oembed (check commits for details). Though you need to activate the BETA option in the popup since it's not enabled by default.
Also this should fix your issue with concatenated titles. Please don't hesitate to create a new issue if it still happens.
@sgtdeagle commented on GitHub (Jun 18, 2025):
Thanks , will enable Beta Features and will have a look, if i spot something odd i create a new Issue
@spidy2356 commented on GitHub (Dec 28, 2025):
Sometimes on the YT feed videos, AI-translated audio is playing on hover.
if I play video on new tab and then hover on feed again (without refreshing), original audio start to play
extension isn't pinned, v2.20.0,
browser: brave
@YouG-o commented on GitHub (Dec 28, 2025):
@spidy2356 Please open a new issue and describe your problem. Don't post it on unrelated issues. Thanks.