Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] localized YouTube content #4858

Open
iBicha opened this issue Aug 18, 2024 · 1 comment
Open

[Feature request] localized YouTube content #4858

iBicha opened this issue Aug 18, 2024 · 1 comment
Labels
feature-request Request of a new feature

Comments

@iBicha
Copy link
Contributor

iBicha commented Aug 18, 2024

Is your feature request related to a problem? Please describe.
Invidious supports localization, but YouTube content is currently always in English (param hl=en).
Some YouTubers localize things like video titles and descriptions.
For example, you can open https://www.youtube.com/watch?v=Sqr-PdVYhY4 with YouTube in english or in french. Title and description are translated.

Describe the solution you'd like
Invidious should support the hl param everywhere across the website as well as the API, similar to the region param. Useful for the content, and also for the search / search suggestions.
Arguably, if someone sets Invidious to a certain language, they probably will appreciate the YouTube content being in that language as well

Describe alternatives you've considered
Do nothing

Additional context
There are some considerations to this I guess - such as how caching will work (only cache english? Will this impact performance on popular instances?)

@iBicha iBicha added the feature-request Request of a new feature label Aug 18, 2024
@SamantazFox
Copy link
Member

SamantazFox commented Aug 18, 2024

The reason we can't reasonably do that is that all the strings with numbers (like "8 days ago", "1.4M subscribers", "4.6B views") will need a separate parser for each language. I think there was another issue discussing that, but it might have been closed.

Edit: relevant comment(s):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request of a new feature
Projects
None yet
Development

No branches or pull requests

2 participants