Hi!
I am using a .txt file as an original to load into Subtitle Workshop. The thing is that itīs a normal .txt file, BUT it has a special format of 2 lines that I need to keep intact once I load it into Subtitle Workshop.
The problem is that when I open it with SW, all my 2 line subtitles are lost, and they become single lines....
Original .txt file:
Hello. How are you?
I am great, thanks.
How are you?
Fine too, thanks.
When I load it into SW all that structure is lost, and all the groups of 2 lines get separated into individual lines. The text file is like 1200 lines long and I have to reconstruct it all myself manually, one line by one!! I am sure that there must be a way to do it automatically.
Can somebody please, please help me?
Thanks!!
+ Reply to Thread
Results 1 to 4 of 4
-
-
You could try subtitle edit, File->import plain text and try "One line is one subtitle".
-
There's probably a way to do this by creating a custom format, but you can do it yourself using a text editor.
What we do is to use the | as the linebreak within a sub.
You can do this with a few search and replaces (Using Word syntax, works in many other editors):
1) put a | at the end of every line:
Replace: ^p
By: |^p
2) Now get rid of the | on blank lines:
Replace : |^p|
By: ^p
3) Join the lines
Replace : |^p
By: |
Now your file should look like:
Code:Hello. How are you?|I am great, thanks. How are you?|Fine too, thanks.
To get your linebreaks back, file/save as and choose MicroDVD format. Save it as xxx.sub.
Now open this xxx.sub again.
The | will now be linebreaks.
You can resave this as SRT format or whatever now if you want. -
Baldrick and AlanHK, I want to thank both of you from the bottom of my heart!!! Really, both your ideas were great! I didnīt know the Subtitle Editor and it was an amazing discovery. I used the "import plain text" option and they you can customize your subtitles quite well!
And then I started from my original text and replaced it like AlanHK suggested and it is perfect too!
Thanks!
Similar Threads
-
subtitle workshop cant read japanese subtitles
By aruwin in forum SubtitleReplies: 4Last Post: 2nd Feb 2011, 09:55 -
IMporting to Subtitle Workshop from txt file
By kouim in forum SubtitleReplies: 4Last Post: 27th Jan 2011, 16:26 -
How to synchronize subtitles using Subtitle Workshop?
By devilcoelhodog in forum SubtitleReplies: 4Last Post: 11th Dec 2009, 16:08 -
Subtitle Workshop 4 crashes when loading subtitle file
By Batou in forum SubtitleReplies: 0Last Post: 26th Mar 2009, 06:57 -
subtitle workshop automatic delete lines with numbers only
By newnews in forum SubtitleReplies: 3Last Post: 20th Aug 2008, 11:53