Python Tool for Translating .docx Files with internal user interface

Job ID: 39650214

Budget: €30 – €250 EUR

I need a skilled developer to create a production-ready Python tool that processes `.docx` files for translation. The tool should extract all visible text from `<w:t>` nodes, send it to the OpenAI API for translation, and then insert the translated text back into the original document. It's crucial that the tool preserves all formatting elements such as tables, styles, images, numbering, footers, and headers, ensuring the output is a translated `.docx` file ready for client delivery.

Key Requirements:
- Accept `.docx` files as input and extract all visible text.
- Utilize the OpenAI API for translating text.
- Support multiple translations for the same text segment.
- Insert translations back into the `.docx` file, maintaining exact original formatting.
- Output a translated `.docx` file that is ready for client delivery.

Ideal Skills and Experience:
- Proficiency in Python programming.
- Experience with document processing libraries such as python-docx.
- Familiarity with API integration, particularly OpenAI's API.
- Strong understanding of text extraction and insertion while preserving document formatting.
- Ability to handle complex document structures and ensure high-quality translation output.

If you have the expertise to develop this tool, I look forward to your proposals.
Related categories: Python Programming Software Engineering OpenAI