Change filename for downloaded subtitles to 2-letter language-codes #6587

Closed
opened 2026-02-07 03:51:26 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Vince0511 on GitHub (Dec 17, 2024).

Im running Jellyfin in docker (10.10.1) with the OpenSubtitles plugin (20.0.0.0).
It's working fine, when I manually download wanted subtitles.

It's adding (by design) the response.Language a three-letter code for the language. I'd like to use the two-letter ISO-code as described by IANA, for universal usage (in other apps).
Is this possible? How do I achive it? Am I missing something?

** Just losing the third character would work for english (eng > en), but is not the solution I'm looking for because it's not working with (in example Dutch (dut > nl) and Swedish (swe > sv))

Originally created by @Vince0511 on GitHub (Dec 17, 2024). Im running Jellyfin in docker (10.10.1) with the OpenSubtitles plugin (20.0.0.0). It's working fine, when I manually download wanted subtitles. It's adding (by design) the [response.Language](https://github.com/jellyfin/jellyfin/blob/e15fea5dade9478d9667399eb0c245917d3e1513/MediaBrowser.Providers/Subtitles/SubtitleManager.cs#L196) a three-letter code for the language. I'd like to use the two-letter ISO-code as described by [IANA](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry), for universal usage (in other apps). Is this possible? How do I achive it? Am I missing something? _** Just losing the third character would work for english (eng > en), but is not the solution I'm looking for because it's not working with (in example Dutch (dut > nl) and Swedish (swe > sv))_
OVERLORD added the featureinvalid labels 2026-02-07 03:51:26 +03:00
Author
Owner

@felix920506 commented on GitHub (Dec 17, 2024):

Please submit feature requests to features.jellyfin.org

@felix920506 commented on GitHub (Dec 17, 2024): Please submit feature requests to features.jellyfin.org
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#6587