From 12704a5618ceca705295b77c6ce815cfe92a84ee Mon Sep 17 00:00:00 2001 From: oliver Date: Tue, 27 Oct 2026 19:12:43 +0000 Subject: [PATCH] fix(i18n): localise extensionless directory links in the DE/ES pages build-i18n.py's rebase_paths() only re-pointed a root-absolute page link when it contained ".html", so extensionless directory links stayed on the EN route even when the language had its own copy (`/odoo-erp-automation-bootcamp/` on all four DE and ES pages, and `/` on the DE/ES bootcamp pages). Same guard as the .html branch: localise only when //index.html exists. Re-applied the rebasing to the 8 already-built DE/ES pages (work/i18n/ relocalise-links.py) - a full re-transform is not safe for them because the switcher-slot/hero rework means repo pages are not raw transform output. 18 refs in 8 files. The DE/ES homepages were the stale case: their body links were built before support.html/odoo-hosting-2027.html existed in that language and were never revisited. check-links.py now flags an EN-route page link whose language has its own copy: 0 such links on all 10 DE/ES pages after the rebuild. test-build.py 107 passed; verify-html.py 0 problems. --- de/index.html | 10 +++++----- de/odoo-community-upgrade.html | 2 +- de/odoo-erp-automation-bootcamp/index.html | 4 ++-- de/odoo-hosting-2027.html | 2 +- es/index.html | 10 +++++----- es/odoo-community-upgrade.html | 2 +- es/odoo-erp-automation-bootcamp/index.html | 4 ++-- es/odoo-hosting-2027.html | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/de/index.html b/de/index.html index fd104aa..f67eea5 100644 --- a/de/index.html +++ b/de/index.html @@ -259,7 +259,7 @@ @@ -387,7 +387,7 @@

Nein. Wettbewerbsfähige Preise für unsere gemeinsamen Kunden liegen in unserem eigenen Interesse.

- Alle Fragen → + Alle Fragen → @@ -484,7 +484,7 @@

Geld sparen, weniger Verwaltung

-

Alle Wege vergleichen, Odoo 2027 zu hosten →

+

Alle Wege vergleichen, Odoo 2027 zu hosten →

@@ -509,7 +509,7 @@ - Weiter zu Stripe → + Weiter zu Stripe →

🔒 Sichere Stripe-Zahlung · Karte für den Kauf erforderlich, nicht für den Start.

@@ -631,7 +631,7 @@

Nützliche Links

Ahorre dinero, menos administración

-

Compare todas las formas de alojar Odoo en 2027 →

+

Compare todas las formas de alojar Odoo en 2027 →

@@ -509,7 +509,7 @@ - Continuar a Stripe → + Continuar a Stripe →

🔒 Pago seguro con Stripe · Se requiere tarjeta para comprar, no para empezar.

@@ -631,7 +631,7 @@

Enlaces útiles