DeepLcom / deepl-php

Official PHP library for the DeepL language translation API.
MIT License
207 stars 22 forks source link

Missing in the PHP library the parameter "output_format" ("docx" for translating a PDF file into a Word document) #46

Open RegisBarbier opened 6 months ago

RegisBarbier commented 6 months ago

Missing in the PHP DeepL library the parameter "output_format" ("docx" for translating a PDF file into a Word document).

output_format type of string: File extension of desired format of translated file, for example: docx. If unspecified, by default the translated file will be in the same format as the input file.

This option is supported by the DeepL API Pro interface but seems to not be yet implemented in some DeepL libraries (PHP, .NET, ...).

I would be very pleased if you could add this feature in this library.

Thank you verys much in advance for your efforts.

Best regards Régis Barbier