Localization Made Easy: A Pythonic Approach to Global Applications - Mario GarcΓ­a @EuroPythonConference
Localization Made Easy: A Pythonic Approach to Global Applications - Mario GarcΓ­a  @EuroPythonConference
Uploaded August 2026 | Updated September 2026, 2 weeks ago
[EuroPython 2026 - S3A on 2026-07-17]
🎀 *Localization Made Easy: A Pythonic Approach to Global Applications by Mario García*
πŸ”— https://ep2026.europython.eu/session/localization-made-easy-a-pythonic-approach-to-global-applications

πŸ“ Abstract:
Scaling an application to a global audience often hits a bottleneck: the manual translation of thousands of strings. While machine translation exists, developers need a reliable way to integrate it into their codebases without breaking JSON structures or losing placeholders.

In this talk, we will explore a streamlined workflow to optimize the localization (l10n) process using Python and the DeepL API. We will walk through a real-world journey of transforming a single-language platform into a multi-language product, focusing on:
- The Localization Workflow: Designing a pipeline that extracts, translates, and reintegrates content automatically.
- Structure Preservation: Strategies to handle nested JSON files and complex data structures, ensuring that keys and code logic remain untouched while values are translated.
- Variable & Context Integrity: How to protect placeholders and dynamic segments (like {count} or {date}) so they survive the translation process intact.
- Automated Batch Processing: Using Python scripts to iterate through entire project directories, enabling the translation of multiple files in a single execution.

Attendees will learn how to build a robust localization engine that acts as a "first draft" generator, allowing developers to focus on validating quality rather than managing strings.

---
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License: creativecommons.org/licenses/by-nc-sa/4.0
Localization Made Easy: A Pythonic Approach to Global Applications - Mario GarcΓ­aEuroPython 2026 - Sponsor Highlight & Recruitment FairHow Many EuroPythons Attended β€” Ege AkmanGuido van Rossum at #EuroPython2026AI Slop to AI Gold: Building Codebases That Last - Dan JonesPython Security & The Language Summit πŸ”’Fast and Furious: 26’s Tooling Stack for a Streamlined Developer Experience - Nacho LlorcaPython and HTTP/3: feel the difference in performance - Daniel VahlaSurviving LLM Traffic Spikes: Routing, Rate Limits, and Failover in Python - Sergi PortaWhere Do You Want The Next EuroPython To Be β€” ColinFree-threaded Python: past, present and future - Thomas WoutersLies, damned lies and large language models β€” Jodie Burchell
EuroPython Conference |

Localization Made Easy: A Pythonic Approach to Global Applications - Mario GarcΓ­a

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER