Hi CatBus
I am a little bored and want to contribute once again š
So, I was thinking of doing the SDH subs in swedish, using swedish standards.ā¦
The version that I have is 12 of this amazing project, is there any mayor changes on the SDH subs in the latest release?
First things first ā if at all possible, always base new subtitle contributions on the latest version of this project. It saves me a ton of time, and Iām always making minor adjustments that donāt even make the changelog (āsubtitle #33 appears one frame laterā, etc). I never simply take a subtitle from someone and put it directly in my project ā I always align it with the latest version. For something like this ā SDH subtitles donāt have a template like other subtitles, we will have to wing the process a bit, but itād likely work.
In fact, because itās been so long since the latest release, thereās a good chance you may want to use my personal current files as a basis, just to make things easier.
Assuming no changes to the actual Swedish subtitles (just adding SDH), the files youād need are:
srt\original\SW-eng-SDH-full.srt
srt\original\ESB-eng-SDH-full.srt
srt\original\ROTJ-eng-SDH-full.srt
resources\fragments\txt\SW-eng-SDH.txt
resources\fragments\txt\ESB-eng-SDH.txt
resources\fragments\txt\ROTJ-eng-SDH.txt
ā¦plus the regular Swedish subtitles.
The SRT files you could just scan for square brackets ā[]ā and colons ā:ā and that would show you where the English SDH cues were placed. Keep in mind that some of these SDH cues may change the timing of the line, so check that as well. As for formatting, Iām mostly just interested in making sure the SDH cues look distinct from regular subtitles. Thatās why I use brackets AND all caps. Other SDH formatting styles could work, but⦠the formatting code in the rendering script specifically looks for square brackets and colons, so it thatās changing, thereād need to be a corresponding code change. We can use different formatting, but whatever we choose needs to be clearly identifiable by my not-very-clever Python code so that it can format the text correctly.
For speaker identification, I only ID the speaker if the speaker isnāt visible/identifiable onscreen AND itās not obvious from the context who the speaker is (i.e. itās not the same speaker continuing to talk but no longer visible, or thereās just nobody else who could be saying this). Itās actually not that common, but you can check the English SDH subtitles for where I decided to do it. This causes some interesting situations, where, for example, Yodaās very first line is spoken offscreen and needs an ID, but you would spoil the reveal if you gave his name, so I just call it āOTHER VOICEā in that instance! If you feel like there are speakers that should be IDād that I havenāt done this for, let me know ā theyād need to be IDād in any language.
The fragments are where it gets very, very weird. Youāll see that thereās a sync target called ālocalizedā that gets a lot of ā[ ALIEN LANGUAGE ]ā entries. Thatās because, in English, thereās a localized version of the film with burnt-in subtitles, and ā[ ALIEN LANGUAGE ]ā just tells the viewer that Greedo/Jabba isnāt speaking English. Itās not really applicable to Swedish since thereās no Swedish dub. Youād just add ā[ ALIEN LANGUAGE ]ā to the full subtitles, like I do in the English *-full.srt files. Then thereās a surprising amount of changing around SDH subtitles for the mono mixes, and so on, and thatās all handled in the fragments.
One thing is that, for the sake of simplicity, and SDH project should be ONLY SDH. If we need to make changes to the Swedish translation, it would be better to do all of that first and only after thatās done to start with the SDH work.
It would be a lot of work, but it could be done. Let me know if youāre still interested, and Iāll share the current files.