il8n Extension: trimming whitespace in translations

Trimming Whitespace in Jinja Translations n nnWhen you’re building a multilingual application with Jinja’s i18n extension, a seemingly simple detail can become a big problem: whitespace. While a few extra spaces or a line break might not matter in your rendered HTML, they can create hard-to-read and error-prone strings for translators. Imagine trying to translate…