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

Is there any way to translate from JP to ES? #92

Open
SsLeaf opened this issue Mar 30, 2023 · 1 comment
Open

Is there any way to translate from JP to ES? #92

SsLeaf opened this issue Mar 30, 2023 · 1 comment

Comments

@SsLeaf
Copy link

SsLeaf commented Mar 30, 2023

I know this was made for JP to EN, but i want to know if is there any way to translate between other languages, I know it can translate from any language to english changing the TARGET_LANGUAGE_CODE on .env, but what about translating any language to another one that isn't english?
Let´s say for example, english to spanish, or japanese to french.

I would like to use this only with the subtitler

@totoluto
Copy link
Contributor

It could be possible if you would make some changes to the code. The subtitler.py is currently using the Whisper and it's function to translate every from language to english. If you want to change the language it translates to then we need to change the part where Whisper translates it and make it transcribe. After that we need to get the trasnlation from either Deepl or Google.

So to answer your question. No, it's not implemented yet.

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