Part 1: Processing Prompt

Hi ChatGPT I have an English SRT file and a corresponding list of Spanish translations. I need to replace each English line with its Spanish counterpart, while following these instructions:

1. Maintain Numbering & Timing:
- Golden Rule: Ensure the line numbers and timings remain unchanged, the numbering sequence cannot be changed, even if the Spanish translation is not found.  This means ensuring hat every English line is accounted for in the Spanish translation. If a Spanish translation is not available, always insert “*** Missing Spanish” for that line. This is to maintain the original numerical sequence and prevent any discrepancies in line numbers. This integrity is critical.


2. Contextual Check Every 3 Lines:
- Compare English and Spanish contexts every three lines.
- If a mismatch occurs, note it with “*** Error in matching.”  And If the next line there is also a mismatch, apply the same fixing mechanism by pulling from the Spanish lines, ensuring the context is restored. 

3. Spanish lines can be merged if they are split compared to their corresponding English line, but keep in mind Rule 1 for integrity with the numbering and sequence.

4. Feedback and Comments:
- If a Spanish translation is missing, append “*** Missing Spanish” to that line.
- If three consecutive lines have mismatches, pause for further guidance.

5. Pause for Feedback:
- Process 10 lines at a time and then pause.
- Display the dialogue lines, including the English and its Spanish counterpart next to each other and summarize any critical issues or mismatches found.
- Await my feedback before continuing.

6. Dialogue Integrity:
- Retain the use of “–” for dialogues in the Spanish version, but only where present in the English line.

7. Error Indicators:
- Highlight critical interventions with “" for manual verification.
- If punctuation changes are necessary for fluency in Spanish, apply them while preserving the original intent. Also if the spanish line feels like it needs a dot at the end, please add it. Consider this too, many times in the Spanish output I see  the symbol “?” after a dot, which is wrong. There should be no dot after “?” 


8. Report Creation:
- At the end, provide a summary report of all lines flagged with "” for easy manual review.


Additional Rules for dialogues:

1. Dialogue Integrity within Timing:
- Treat any dialogues separated by a break within the same time frame as a single line number.
- Ensure the Spanish versions of dialogues maintain the same structure and format.

2. Preserve Simultaneity:
- Do not separate dialogues into different line numbers even if they appear distinct; they belong to the same subtitle block.
- Ensure any dialogue formatting, such as the use of dashes or breaks, is preserved in both languages.

3. Simplified Context Checking for Multi-line Dialogues:
- When checking context for multi-line dialogues, treat these as a complete unit, retaining their original connections across English and Spanish translations.


Don’t start until you have both list of dialogues, English and Spanish.



Part 2: SRT output
Use all of the Spanish matching and corrections we made and apply the replacement to the original English SRT. Remember all the rules. This one is very important “Ensure the line numbers and timings remain unchanged, the numbering sequence cannot be changed.”

For reference I will recopy the original English SRT if you need it.











Version B 
Hi ChatGPT. I have a task for you, I need you to help me with a SRT subtitle files. I have the SRT file with English lines and I need to replace each corresponding line with the already translated Spanish version. So it’s find match and replace. I will give you both groups of lines, English and Spanish, but there are a couple of rules that need to be respected.


1. Golden Rule: Ensure line numbering and timing remain unchanged. Every 3 lines, verify if the Spanish and English contexts match. If a mismatch occurs, indicate this on the mismatched line with “*** error in the offset and mismatch” and, on the following line, replace the English with the correct Spanish translation that addresses the mismatch. If the next line also has a mismatch, apply the same fixing mechanism by pulling from the Spanish lines, ensuring the context is restored.

2. Spanish lines can be merged if they are split compared to their corresponding English line, but keep in mind rule 1 for integrity with the numbering.

3. If there is a missing Spanish translation, append “*** Missing Spanish” at the start of that line. Integrity is a high priority, so prioritize using the asterisks for comments so I can stop those mistakes and correct them manually.

4. If there is an error in matching any line, append “*** Error in matching” at the start of that line. Integrity is high priority.

5. When the Spanish line feels like it needs a dot at the end, please add it.

6. If you have three lines in a row that don’t match, pause and ask for guidance on how to resolve the issue. After receiving instructions, continue with the remaining lines that need to be replaced.

7. If the English line contains dialogue from two speakers marked with “-”, ensure the Spanish replacement line also reflects this with each speaker’s line preceded by “-”. If the Spanish translation lacks these, add them to maintain consistency.

8. Golden Rule: Maintain the use of “-” symbols in the Spanish translation only when they appear in the corresponding English line. Do not introduce “-” into the Spanish translation if the English line does not have it.

9. In the Spanish version if there is a dot after the symbol “?” remove the dot, the dot shouldn’t be there.

10. Preserving the format of the srt is important so its compliant.

11. Golden Rule: 11. Ensure that every English line is accounted for in the Spanish translation. If a Spanish translation is not available, always insert “*** Missing Spanish” for that line. To maintain the original numerical sequence and prevent any discrepancies in line numbers.

After the output, include a report of the *** comments so I can easily check them and manually correct them
Any questions?



Let’s make a reiteration of this result as there are many mistakes that the context of the lines replaced are off, sometimes by a line, sometimes by several lines. Let’s use this result and check the original English version and the original Spanish version and fix the issues.




1. Golden Rule: The numbering of the lines and its context cannot be changed or have an offset. This is to avoid lines having the wrong timing or losing the original numbering. Please check every 5 lines if context matches, if they don’t. Add in that line “*** error in the offset” and in the next line fix the problem by applying the correct line in Spanish by trying to fix it.







1) The numbering of the lines and its context cannot be changed or have an offset, this is to avoid lines having a wrong timing or losing the original numbering.
2) Spanish lines can be merged if they are split when comparing its correspoding English line, but keep in mind rule 1, so we have integrity with the numbering.
3) if by some odd change there is a line that has a missing Spanish translation, append to the initial part of that line *** Missing Spanish. Integrity is high priority, so I prefer using the three asterisks with comments than having mistakes I cannot see or troubleshoot manually.
4) If there is an error in matching on a line, append like with rule 3 with three asterisks and your error comment, integrity is priority.
5) When the Spanish line feels like it needs a dot at the end, please add it.
6) If you have three lines in a row that don’t match, pause and ask me how to approach that issue and after I gave you the instructions, continue with the rest of lines that need to be replaced.
7) When you see the symbol in the English version "-", usually it will be always missing in the Spanish version. Add them, also sometimes there will be "-"  followed by a break line, and then another "-" Usually this happens because each "-" is for different character dialogue, as two characters speak at the same time during that line, please add them ”-“ because the Spanish version doesn't have them.
8) In the Spanish version if there is a dot after the symbol “?” remove the dot, the dot shouldn’t be there.
9) Lastly,  preserving the format of the srt is important so its compliant .


After the output, include a report of the *** comments so I can easily check them and manually correct them

Any questions?