[FEATURE REQUEST] Add Language Parameter Support for TVDB Integration
Hello!
I would like to request the implementation of a language parameter for the TVDB integration within Ryot. Currently, other metadata providers in Ryot support selecting a preferred language for metadata results, which is very useful for users wanting consistent language output.
According to the official TVDB API v2 documentation, the recommended way to specify the language is via the Accept-Language HTTP header in API requests. This header informs TVDB which language the user prefers for the metadata returned.
The Accept-Language header "indicates the natural language and locale that the client prefers," allowing the server to respond with metadata in that language if available. For example, setting:
Accept-Language: en requests metadata in English. This header is a standard part of HTTP content negotiation and should be incorporated into API requests made by Ryot’s TVDB integration to improve metadata localization and user experience.
Implementing this language support would improve the user experience by ensuring TV show metadata such as titles, descriptions, and episode names are consistently returned in the desired language. This would bring the TVDB integration in line with other metadata sources that already support language preferences.
The reason i did not add this while adding TVDB support is because I want to revamp how internationalization works in Ryot. Right now, language can be configured via an environment variable for the various providers. But this forces all users to use that language instead. I want to move this to the user preferences level. But this will require a massive revamp of the backend which I am not sure how to approach yet.
I plan to work on it soon but this feature will land along with #684.