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

Feature Request about merge to translate #126

Open
Dwtexe opened this issue Sep 12, 2023 · 2 comments
Open

Feature Request about merge to translate #126

Dwtexe opened this issue Sep 12, 2023 · 2 comments
Labels
duplicate This issue or pull request already exists enhancement New feature or request

Comments

@Dwtexe
Copy link

Dwtexe commented Sep 12, 2023

can you also add a feature that will allow us to translate each chapter in the book in one go, for example, each html file will be sent in one request.

It should not be forgotten that deepl allows 100000 characters for each request, if exceeded, error 413 occurs.

I use the Deepl translation engine.

Thank you for your efforts.

@Dwtexe
Copy link
Author

Dwtexe commented Sep 12, 2023

For files over 100000 characters, splitting the file evenly will improve translation quality.

For example:
It would be healthier to divide a 130000 character file into 2 parts as 65000 65000 rather than 100000 and 30000.

@bookfere
Copy link
Owner

bookfere commented Sep 13, 2023

This requirement is similar to #85.

Are you suggesting that the characters in chapter should be evenly split? For instance, you set a character count of 5000 in "Merge to Translate". If a chapter contains 10,000 characters, the plugin would split it into two 5000 characters; If a chapter contains 10,001 characters, the plugin would split it into approximately 3333 characters.

@bookfere bookfere added duplicate This issue or pull request already exists enhancement New feature or request labels Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants