Member-only story
Using Selenium and deepL to automate the translation of PowerPoint files
Ever wanted to efficiently translate a PowerPoint deck? Discover how to automate such a process with Python!
The need for automation
Like many consultants, I’m pretty used to working with PowerPoint presentations. But lately, I’ve been asked to deal in a very special way with those *.pptx files. Instead of presenting my work or any strategy, I was asked to translate dozens and dozens of slides from french to English. And my first thoughts were exactly the same as yours: “ How boring… !!”.
Yes, very boring! But you know what? Truth is that developers deeply love being assigned boring stuff. So that they can automate them! Here is the story of my journey on translating those tens of thousands of words dispatched in hundreds of slides.
In this article, you’ll discover how to manipulate PowerPoint files with Python and how to extract information from a translation website. But let’s begin with a small Benchmark, starting with the why before getting to the how!
Looking for an existing solution
Immediately after the desperate “Too boring…”, and ahead of the confident “I’ll spend one day building…