-
Notifications
You must be signed in to change notification settings - Fork 42
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
Support for translating PDF files #85
Conversation
Looking good so far! |
Is it ready for review? |
By all means.
You'll notice in the code that I am using v3 of the API whose syntax is
somewhat different from v2 on which gl_translate is based.
…On Fri, Jun 2, 2023, 02:18 Mark ***@***.***> wrote:
Is it ready for review?
—
Reply to this email directly, view it on GitHub
<#85 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ6UTPBBOMPN5V57LOFKIDXJFZS5ANCNFSM6AAAAAAYXKP6AM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Looking good! May I suggest a test is added using the test PDF you have added? |
@MarkEdmondson1234, I added a test. It runs (and passes) manually on my local system, however, there may be an issue regarding v2 and v3 of the API that I am not accounting for. Please check/test on your side as well to verify. |
Two commits for pdf-based testing |
Thanks for working on this! I wanted to try it - three comments:
|
Also, some files require shadow text removal for the translation to be of any use - that would be a good option to expose as well (or set as a default, based on my understanding it shouldn't do any harm) |
I'm sorry I missed the pull, merged it |
First go at [#84]