From e6f4c0a540cbf11e791799ffe1a2e66580ed90fd Mon Sep 17 00:00:00 2001 From: Deeman Date: Fri, 20 Feb 2026 16:15:07 +0100 Subject: [PATCH] =?UTF-8?q?copy(de):=20Sie=E2=86=92Du=20overhaul,=20termin?= =?UTF-8?q?ology=20&=20directory=20SEO=20copy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - All German UI copy switched from formal Sie/Ihr to informal Du/Dein across ~60 i18n.py keys and 10 template files - Platz-Anbieter → Anbieter in CTAs; Anlage → Padel-Platz in planner wizard and planner translations (wiz_venue, sl_budget_target) - Anlageplanung → Padelplatz-Planung in service checklist - Directory H1: Padelplatz-Hersteller, Platzbauer & Anbieter (SEO) - mkt_no_results / mkt_search_placeholder: Artikel → Märkte (EN + DE) Co-Authored-By: Claude Sonnet 4.6 --- CHANGELOG.md | 6 + .../directory/templates/partials/results.html | 6 +- .../directory/templates/supplier_detail.html | 6 +- padelnomics/src/padelnomics/i18n.py | 128 +++++++++--------- .../templates/partials/quote_step_7.html | 2 +- .../leads/templates/quote_submitted.html | 2 +- .../leads/templates/quote_verify_sent.html | 4 +- .../planner/templates/export_waitlist.html | 4 +- .../planner/templates/planner.html | 8 +- .../suppliers/partials/signup_step_4.html | 4 +- .../suppliers/waitlist_confirmed.html | 6 +- 11 files changed, 91 insertions(+), 85 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a08db9..a32c4d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] +### Changed +- copy: switch all German UI copy from formal "Sie/Ihr" to informal "Du/Dein" — covers i18n.py (~60 keys), planner wizard step titles/subtitles, export waitlist page, quote wizard steps, quote submitted/verify pages, directory supplier detail, directory results partial, supplier signup step 4, supplier waitlist confirmed page +- copy: replace "Platz-Anbieter" with "Anbieter" in CTAs; "Anlage" → "Padel-Platz" in planner wizard step 1 title/subtitle and planner translations (wiz_venue, sl_budget_target); "Anlageplanung" → "Padelplatz-Planung" in service checklist +- copy: update directory H1 to SEO multi-term "Padelplatz-Hersteller, Platzbauer & Anbieter"; subheading now mentions Hersteller, Platzbauer, schlüsselfertige Lösungen +- copy: fix `mkt_no_results` and `mkt_search_placeholder` — replaced incorrect "Artikel" with "Märkte" in German and English (markets page shows market pages like Miami, not articles) + ### Added - i18n: translate `base.html`, `_cookie_banner.html` — "Manage Cookies", "About" footer links, feedback placeholder via `{{ t.key }}`; cookie banner heading/categories/descriptions/buttons; JS toggle text injected via `tojson` so "Manage"/"Close" states are also translated; `public/routes.py` feedback flash messages use `get_translations(g.lang)` keys - i18n: expand `i18n.py` with ~300 UI template keys, ~200 planner JS locale strings (`_PLANNER_TRANSLATIONS`), ~35 CAPEX/OPEX item name translations (`_CALC_ITEM_NAMES`), plus `get_planner_translations()` and `get_calc_item_names()` functions diff --git a/padelnomics/src/padelnomics/directory/templates/partials/results.html b/padelnomics/src/padelnomics/directory/templates/partials/results.html index 20c8493..d8113a7 100644 --- a/padelnomics/src/padelnomics/directory/templates/partials/results.html +++ b/padelnomics/src/padelnomics/directory/templates/partials/results.html @@ -38,7 +38,7 @@
-

{% if lang == 'de' %}Ihr Projektfoto{% else %}Your project photo{% endif %}

+

{% if lang == 'de' %}Dein Projektfoto{% else %}Your project photo{% endif %}

{% if lang == 'de' %}Ihre Kategorie{% else %}Your Category{% endif %}
@@ -47,10 +47,10 @@
?
-

{% if lang == 'de' %}Ihr Unternehmen{% else %}Your Company{% endif %}

+

{% if lang == 'de' %}Dein Unternehmen{% else %}Your Company{% endif %}

- {% if lang == 'de' %}Ihre Stadt, Land{% else %}Your City, Country{% endif %} + {% if lang == 'de' %}Deine Stadt, Land{% else %}Your City, Country{% endif %}

diff --git a/padelnomics/src/padelnomics/directory/templates/supplier_detail.html b/padelnomics/src/padelnomics/directory/templates/supplier_detail.html index becbe99..dff2dc2 100644 --- a/padelnomics/src/padelnomics/directory/templates/supplier_detail.html +++ b/padelnomics/src/padelnomics/directory/templates/supplier_detail.html @@ -361,7 +361,7 @@
+ placeholder="{% if lang == 'de' %}Erzähl {{ supplier.name }} von Deinem Projekt…{% else %}Tell {{ supplier.name }} about your project…{% endif %}">
@@ -500,7 +500,7 @@