Jellyfin picks up subtitle files that sit next to a video, and the file name does more work than I expected. The extra dot-separated pieces can set the language, mark a track as default or forced, and flag it for the hearing impaired. I like this because it needs no editing inside the video at all.
This is the example layout from the Jellyfin docs:
Film (1986)/
Film.mkv
Film.default.srt
Film.default.en.forced.ass
Film.forced.en.dts
Film.en.sdh.srt
Film.English Commentary.en.mp3
Each piece after the video name is either a language code or a flag, and a file can carry several flags. The flags are default, forced (or foreign), and sdh, cc or hi for hearing impaired. Text that is neither a language nor a flag becomes the track title, so the last file above shows up as an English audio track called English Commentary. The same naming works for external audio files.
For a series the same pattern goes behind the episode name, for example Series Name A (2021) S01E01 Title.ja.ass inside the season folder.
One trap: hi is also the code for Hindi. On its own it resolves to a Hindi track. Only next to another language, as in title.en.hi.srt, does Jellyfin read it as English for the hearing impaired. I would use sdh and skip the confusion. Also note that flags are ignored on containers with more than one stream, so they only apply to single-stream files.
Further reading: Movies: external subtitles and audio tracks (Jellyfin docs)
Going deeper: Guide: the Bazarr settings that matter, from languages to the minimum score