Jellyfin Forum
SOLVED: Localisation of Track Selection - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Localisation of Track Selection (/t-solved-localisation-of-track-selection)



Localisation of Track Selection - LeutnantNomad - 2024-07-12

Hello everyone,

I recently started my Jellyfin Media Server and am since been testing to find the best result that'll satisfy my inner monk.
Since I am a native German speaker the preferred language of the Jellyfin GUI is German as well. At this point shoutout to the people doing the localisation!

There is only one thing that seems to not work properly, which is the selection dropdown menu of audio and subtitle tracks. As far as I understood, the shown title of a track is constructed from track metadata like name, e.g. "Surround 5.1" or "Stereo", the language code, codec and possible flags.
A typical generated track name would be "Surround 5.1 - German - Dolby Digital - Default" which is fine except for the fact that "German" is not translated to "Deutsch" (same for "English" not being "Englisch", etc.). An example of this German GUI / English track title is given as an attachment

Not a huge problem, but since the rest of the GUI is translated I'd like to have the selection translated as well.
Does anybody know a fix for that? Or is that not possible at the moment and hence more of a feature request?

Best regards.


Jellyfin 10.9.7 is running as a Docker container drawing the latest image via the "Container Manager" of my Synology NAS with DSM 7.2.1


RE: Localisation of Track Selection - LeutnantNomad - 2024-07-13

Little addition:
The translation of the default flag works in the Subtitle selection (because it says "Standard") but not in the Audio (written "Default"). As mentioned above, the language isn't translated in either of them.
I also did a test in VLC. The displayed language in the track selection is translated accordingly to VLC's GUI language.


RE: Localisation of Track Selection - TheDreadPirate - 2024-07-13

In Jellyfin, go to Dashboard > General. What is the preferred display language set to?


RE: Localisation of Track Selection - LeutnantNomad - 2024-07-13

It is "German". The display language of my profile is set to "Auto", so I guess that it fetches "German" from the server wide preferred language.


RE: Localisation of Track Selection - LeutnantNomad - 2024-07-13

Ok by pure coincidence I had a look into the settings of my Jellyfin container in the Container Manager of DSM (Synology NAS) and found the environment variables for locale "LC_ALL", "LANG" and "LANGUAGE". An explanation of those can be found here. They have been set to en_US, which led to the faulty translation of only the track title. Apparently, the track title generation relies on system locale, while the whole GUI is controlled by the preferred language in Dashboard > General or the profile preference in Settings > Display, so to speak variables in the program.

For the sake of completeness, my environment variables for a proper German setup of Jellyfin:
LC_ALL='de_DE.UTF-8'
LANG='de_DE.UTF-8'
LANGUAGE='de:en'
Note the UTF-8 encoding which is most likely necessary for our Umlaute or other fancy characters. Also, LANGUAGE has the fallback option for English.

Thanks TheDreadPirate for the help anyway!
Hope this helps some other German speaking fellow with OCD. Winking-face


RE: Localisation of Track Selection - LeutnantNomad - 2024-07-14

For your interest, I opened issue #12272 on GitHub, since the "solved" localisation is not 100 % complete and I wanted to discuss my findings of this "study".