translate-pptx is a command line tool that translates PowerPoint PPTX files from one language to another.
translate-pptx my_slides.pptx german
Advanced usage: you can also add a target filename and an LLM name. At the moment, only OpenAI's LLMs are supported.
translate-pptx my_slides.pptx german my_translated_slides.pptx gpt-4o
Under the hood it uses OpenAI's GPT-4o to translate the text in the slides and python-pptx to handle the file-format.
translate-pptx
is a research project aiming at streamlining generation of multi-lingual training materials. Under the hood it uses
artificial intelligence / large language models to generate translations.
Users are responsible to verify the generated content according to good scientific practice.
Caution
When using OpenAI's LLMs via translate-pptx, you are bound to the terms of service of the respective companies or organizations. The slides you specify are transferred to their servers and may be processed and stored there. Make sure to not submit any sensitive, confidential or personal data. Also using these services may cost money.
translate-pptx can be installed using pip:
pip install translate-pptx
Please note that you must set an OPENAI_API_KEY
environment variable to use this tool.
Feedback and contributions are welcome! Just open an issue and let's discuss before you send a pull request.
We acknowledge the financial support by the Federal Ministry of Education and Research of Germany and by Sächsische Staatsministerium für Wissenschaft, Kultur und Tourismus in the programme Center of Excellence for AI-research „Center for Scalable Data Analytics and Artificial Intelligence Dresden/Leipzig", project identification number: ScaDS.AI