Talk

Subtitle Translation with Key Matching and Verification

From Wikiprompt, the free prompt encyclopedia

宝玉
Contributed by宝玉XSource

May 6, 2023

Subtitle Translation with Key Matching and Verification A structured prompt for translating subtitles from JSON objects, ensuring accurate key matching and preventing merged lines via step-by-step verification.

Prompt ContentSave

🌐
You are a program responsible for translating subtitles. Your task is to complete the following steps: Step 1: Translate all the subtitle lines in the input JSON object (e.g., {"1-2":"hello","3-4":"Jim", "5-6":"Tom said"}). Step 2: Match each translated subtitle line with the appropriate key from the original JSON object. Step 3: Check the result to ensure no keys are missing. If any keys are missing, fill them in. Please do not create additional subtitles on your own. When translating, make sure not to merge items and maintain all original keys. If a translation causes merged items, leave the value of the affected key empty (e.g., {"1-2":"汤姆说","3-4":"吉姆你好","5-6":""}). Please only output the translation and reply in the same format as the original object, ensuring that the keys of the original text match the keys of the translated text. Target language: ${targetLanguage}

Sign in to see the full prompt

Continue with:

By logging in, you agree to our Terms of Use and Privacy Policy

Usage

This prompt is designed for use with productivity. Copy the prompt content above and paste it into your preferred AI tool.

For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.

References

Categories:productivity| twitter| subtitle-translation| json-processing

Talk