mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
Language Fallback #6281
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#6281
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 @jorensanbar on GitHub (Sep 17, 2024).
This issue respects the following points:
Description of the bug
When you get the information from TMDB using the default plugin, you should be able to perform a fallback translation in the language.
Reproduction steps
What is the current bug behavior?
If you search for information in Spanish (Mexico) and it doesn't exist, you should search for the information in the Spanish parent. (From es-MX to es)
This way you get the correct record since TMDB has configured that if the name is the same, you should leave the information for Spanish-Mexico blank and save the values in Spanish-Spain.
Instead, you are saving the keyword that TMDB uses to omit information, in this case: Episode ##, and leaving the overview blank
You should skip the keyword used by TMDB (Episode ##) and get the texts with the parent language (ES)

What is the expected correct behavior?
To be able to obtain information about the parent language when the language with country code does not exist.
Example:
Language "es-MX" dont exist
Get language "es" for Spain,
Jellyfin Server version
10.9.11+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
10.9.11
Environment
Jellyfin logs
FFmpeg logs
No response
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@jorensanbar commented on GitHub (Sep 18, 2024):
This is an example of Language Fallback:
Call for Spanish (Mexico)
https://api.themoviedb.org/3/tv/30984/season/1/episode/1?api_key=THE_KEY&&language=es-MX
Returns:
{ "episode_number": 1, "name": "Episodio 1", "overview": "", }Info is empty, only keyword "Episode ##" as name.
So, remove country from language:
https://api.themoviedb.org/3/tv/30984/season/1/episode/1?api_key=THE_KEY&&language=es
Returns:
{ "episode_number": 1, "name": "El día que me convertí en Shinigami", "overview": "Ichigo Kurosaki es un chico de 15 años que puede ver espíritus. Intentando proteger el espíritu de una niña pequeña de un hollow, tiene un encuentro con un espíritu malvado y una shinigami. Después Ichigo Kurosaki encuentra a la chica en su habitación, ella se presenta como Rukia Kuchiki, y explica el objetivo de los shinigami. El hollow vuelve y deja a Rukia Kuchiki herida, para salvar a la familia de Ichigo Rukia le traspasa sus poderes y así se convierte en un shinigami.", }@ricardofcf commented on GitHub (Nov 13, 2025):
I'd also like to see this implemented, as it affects portuguese speakers too (and probably other languages). If the metadata isn't available in pt-PT, it would make sense for us to at least have the option, as it happens on the TMDb website, to fetch pt-BR. The TVDb plugin has this option but it appears to be broken.