Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where should I put the pre-translated SRT file or what do I do wrong with something else #58

Closed
benshgit opened this issue Mar 28, 2023 · 1 comment

Comments

@benshgit
Copy link

I put the pre-translated SRT file in the directory same as main.py, and also copy it into workingfolder. Then it gives me the following message:
------- 'Auto Synced Translated Dubs' script by ThioJoe - Release version 0.13.1 -------

----- Beginning Processing of Languages -----

----- Beginning Processing of Language (1/1): zh-CN -----
Skip translation enabled. Checking for pre-translated subtitles...
Pre-translated subtitles not found for language: zh-CN. Skipping.

@ThioJoe
Copy link
Owner

ThioJoe commented Mar 28, 2023

It would go into the same output folder that the script would output the subtitles or audio files.

So if the video file is called Some Video.mp4, you would put the subtitle files into: Outputs\Some Video

Keep in mind it will be looking for a certain format for the name of the srt file, specifically ending with the two letter language code. In your case it should end with - zh.srt. This is because it is assuming the file was created by the script. So the whole filename would be whatever file name - zh.srt

I'll probably have to add some kind of messaging to make this a bit more obvious


Edit: The latest commit (2850421) adds better messaging for when it doesn't find a pre-translated subtitle file.

Example of new output below:
image

@ThioJoe ThioJoe closed this as completed Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants