#17882·jellyfin

Jellyfin 12.0.0 collapses Portuguese (Brazil) and Portuguese (Portugal) subtitle searches to generic "pt"

Author: mahmatiasCreated Sep 8, 2026Updated Sep 28, 2026
Labelsbug

Description of the bug

What happened?

After upgrading to Jellyfin 12.0.0, manual subtitle search no longer preserves the selected Portuguese language variant.

In the manual subtitle search UI, the following language choices are shown separately:

  • Portuguese
  • Portuguese (Brazil)
  • Portuguese (Portugal)

However, selecting any of those options results in the same server-side language value: pt.

This makes it impossible to search specifically for Brazilian Portuguese subtitles. Searches return no results or generic/Portugal Portuguese results instead of filtering for Portuguese (Brazil).

The issue is reproducible with a newly searched episode, so it is not caused by subtitle-search cache.

Expected behavior

When selecting Portuguese (Brazil), Jellyfin should preserve and pass the Brazilian Portuguese locale to the subtitle provider, using the provider/API-supported language mapping, such as:

  • pt-BR, or
  • pob / pb where a legacy OpenSubtitles language code is required.

Likewise, selecting Portuguese (Portugal) should not be treated as the same request as Portuguese (Brazil) or generic Portuguese.

Actual behavior

All Portuguese variants are normalized to the generic code pt.

Relevant log output after selecting Portuguese (Brazil):

[2026-09-08 18:30:47.639 -03:00] [INF] Searching subtitles for episode 1773 in language "pt". This may take a while...
[2026-09-08 18:30:48.414 -03:00] [INF] Found 0 subtitles for episode 1773
[2026-09-08 18:30:48.414 -03:00] [INF] Search completed for "episode 1773". Found 0 subtitles, cached for 60 minutes.
[2026-09-08 18:30:48.414 -03:00] [INF] Episode subtitle search: 0 total subtitles, 0 after filtering for language '"pt"'

A separate episode was searched to avoid using a previously cached result:

[2026-09-08 18:15:20.218 -03:00] [INF] Searching subtitles for episode 1772 in language "pt". This may take a while...
[2026-09-08 18:15:20.767 -03:00] [INF] Found 0 subtitles for episode 1772
[2026-09-08 18:15:20.768 -03:00] [INF] Search completed for "episode 1772". Found 0 subtitles, cached for 60 minutes.
[2026-09-08 18:15:20.768 -03:00] [INF] Episode subtitle search: 0 total subtitles, 0 after filtering for language '"pt"'

The first search was then cached for 60 minutes, but the later search on a distinct episode reproduced the same language normalization behavior.

Environment

  • Jellyfin Server: 12.0.0
  • Operating system: Linux Mint 22.3
  • Architecture: x64
  • Installation: native Linux/systemd installation
  • Jellyfin service user: plex
  • Open Subtitles plugin: 25.0.0.0
  • Subtitle Extract plugin: 8.0.0.0
  • Subtitle provider: OpenSubtitles.com
  • Affected operation: Manual subtitle search for episodes
  • Selected UI language: Portuguese (Brazil)

The server confirms that Open Subtitles plugin 25.0.0.0 is installed and loaded:

[2026-09-08 11:53:19.398 -03:00] [INF] Plugin "installed": "Open Subtitles" "25.0.0.0"
[2026-09-08 11:53:52.214 -03:00] [INF] Loaded assembly "Jellyfin.Plugin.OpenSubtitles, Version=25.0.0.0, Culture=neutral, PublicKeyToken=null" from "/var/lib/jellyfin/plugins/Open Subtitles_25.0.0.0/Jellyfin.Plugin.OpenSubtitles.dll"
[2026-09-08 11:53:52.677 -03:00] [INF] Loaded plugin: "Open Subtitles" "25.0.0.0"

Reproduction steps

Steps to reproduce

  1. Install or upgrade to Jellyfin Server 12.0.0.
  2. Install Open Subtitles plugin 25.0.0.0 and configure a valid OpenSubtitles.com account.
  3. Open an episode or movie with no existing subtitle matching the requested language.
  4. Choose the manual subtitle search/download action.
  5. Select Portuguese (Brazil).
  6. Trigger the search.
  7. Inspect the server log.
  8. Observe that the search is performed with language "pt" instead of a Brazilian Portuguese-specific identifier.
  9. Repeat with Portuguese and Portuguese (Portugal).
  10. Observe that the same generic "pt" value is used.

What is the current bug behavior?

Current bug behavior When I select Portuguese (Brazil) in Jellyfin’s manual subtitle search, Jellyfin sends the search request using only the generic language code pt.

The same generic pt code is also used when selecting Portuguese and Portuguese (Portugal), so the three distinct language options in the UI produce the same provider search. As a result, Jellyfin cannot specifically find or filter Brazilian Portuguese subtitles; it returns no results or only generic/Portuguese-from-Portugal results.

Server log after selecting Portuguese (Brazil):

[INF] Searching subtitles for episode 1773 in language "pt". This may take a while... [INF] Found 0 subtitles for episode 1773 [INF] Episode subtitle search: 0 total subtitles, 0 after filtering for language '"pt"' This was reproduced with a new episode, not only from cached subtitle-search results.

What is the expected correct behavior?

When I select Portuguese (Brazil), Jellyfin should preserve that language variant throughout the manual subtitle-search request and provider filtering.

The subtitle provider should receive a Brazilian Portuguese-specific language identifier, such as pt-BR or the OpenSubtitles-compatible equivalent pob/pb, rather than the generic pt.

Likewise, Portuguese (Portugal) should use a Portugal-specific identifier, and generic Portuguese should remain distinct. Selecting each of the three options should therefore produce a different language-filtered search and allow Brazilian Portuguese subtitles to be found separately from Portuguese-from-Portugal subtitles.

Jellyfin Server version

12.0

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

12.0

Environment

markdown
- Jellyfin Server: 12.0.0
- Operating system: Linux Mint 22.3
- Architecture: x64
- Installation: native Linux/systemd installation
- Jellyfin service user: `plex`
- Open Subtitles plugin: 25.0.0.0
- Subtitle Extract plugin: 8.0.0.0
- Subtitle provider: OpenSubtitles.com
- Affected operation: Manual subtitle search for episodes
- Selected UI language: Portuguese (Brazil)

Jellyfin logs

bash
[2026-09-08 18:24:18.108 -03:00] [INF] Fetching series from Bazarr
[2026-09-08 18:24:18.137 -03:00] [INF] Cached 47 series from Bazarr
[2026-09-08 18:24:18.138 -03:00] [INF] Fetching episodes for series 16 from Bazarr
[2026-09-08 18:24:18.182 -03:00] [INF] Cached 44 episodes for series 16
[2026-09-08 18:24:18.182 -03:00] [INF] Returning cached subtitle search results for "episode 1772" (0 subtitles)
[2026-09-08 18:24:18.182 -03:00] [INF] Episode subtitle search: 0 total subtitles, 0 after filtering for language '"pt"'" (from cache)"
[2026-09-08 18:24:22.977 -03:00] [INF] Returning cached subtitle search results for "episode 1772" (0 subtitles)
[2026-09-08 18:24:22.977 -03:00] [INF] Episode subtitle search: 0 total subtitles, 0 after filtering for language '"pt"'" (from cache)"
[2026-09-08 18:25:11.134 -03:00] [INF] "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:25:11.201 -03:00] [INF] "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:25:22.655 -03:00] [INF] WS "192.168.1.107" request
[2026-09-08 18:26:42.134 -03:00] [INF] "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:26:42.201 -03:00] [INF] "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:28:13.134 -03:00] [INF] "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:28:13.201 -03:00] [INF] "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:28:32.792 -03:00] [INF] Returning cached subtitle search results for "episode 1772" (0 subtitles)
[2026-09-08 18:28:32.792 -03:00] [INF] Episode subtitle search: 0 total subtitles, 0 after filtering for language '"pt"'" (from cache)"
[2026-09-08 18:28:36.913 -03:00] [INF] Returning cached subtitle search results for "episode 1772" (0 subtitles)
[2026-09-08 18:28:36.913 -03:00] [INF] Episode subtitle search: 0 total subtitles, 0 after filtering for language '"pt"'" (from cache)"
[2026-09-08 18:28:40.537 -03:00] [INF] Returning cached subtitle search results for "episode 1772" (0 subtitles)
[2026-09-08 18:28:40.537 -03:00] [INF] Episode subtitle search: 0 total subtitles, 0 after filtering for language '"pt"'" (from cache)"
[2026-09-08 18:29:44.134 -03:00] [INF] "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:29:44.201 -03:00] [INF] "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:30:47.516 -03:00] [INF] Fetching series from Bazarr
[2026-09-08 18:30:47.565 -03:00] [INF] Cached 47 series from Bazarr
[2026-09-08 18:30:47.566 -03:00] [INF] Fetching episodes for series 16 from Bazarr
[2026-09-08 18:30:47.639 -03:00] [INF] Cached 44 episodes for series 16
[2026-09-08 18:30:47.639 -03:00] [INF] Searching subtitles for episode 1773 in language "pt". This may take a while...
[2026-09-08 18:30:48.414 -03:00] [INF] Found 0 subtitles for episode 1773
[2026-09-08 18:30:48.414 -03:00] [INF] Search completed for "episode 1773". Found 0 subtitles, cached for 60 minutes.
[2026-09-08 18:30:48.414 -03:00] [INF] Episode subtitle search: 0 total subtitles, 0 after filtering for language '"pt"'""
[2026-09-08 18:31:15.135 -03:00] [INF] "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:31:15.201 -03:00] [INF] "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:32:46.137 -03:00] [INF] "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:32:46.202 -03:00] [INF] "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:34:17.137 -03:00] [INF] "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:34:17.202 -03:00] [INF] "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:35:48.137 -03:00] [INF] "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:35:48.202 -03:00] [INF] "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:37:19.138 -03:00] [INF] "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:37:19.202 -03:00] [INF] "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:38:50.137 -03:00] [INF] "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:38:50.203 -03:00] [INF] "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:40:21.138 -03:00] [INF] "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:40:21.203 -03:00] [INF] "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
[2026-09-08 18:40:37.110 -03:00] [INF] WS "192.168.1.107" closed

FFmpeg logs

bash

Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response