This article was replied by DeepSeek
This error occurs due to a missing configuration key in your pyVideoTrans settings. The KeyError: 'target_language' indicates that the software cannot find the target language setting required for processing.
Quick Fix:
Reset your configuration by deleting the params.json
file located in your pyVideoTrans installation directory under the videotrans
folder. This will restore default settings and resolve the missing key issue.
Detailed Steps:
1. Navigate to your pyVideoTrans installation folder (where sp.exe
is located).
2. Open the videotrans
subfolder.
3. Find and delete the params.json
file.
4. Restart pyVideoTrans. The software will automatically create a new configuration file with all necessary keys including 'target_language'.
Additional Notes:
- This error typically happens after manual editing of configuration files or during version updates
- Your personal API keys and settings will be reset, so you'll need to reconfigure them after this fix
- If the issue persists, consider downloading the latest version from the official website: https://pyvideotrans.com
This is a known configuration issue specific to pyVideoTrans and should be completely resolved with the above steps.