Public Access
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 <lang>/<path>/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.
This commit is contained in:
1 parent
268b2645e2
commit
12704a5618
8 files changed
+18
-18
No files matched your search
+5
-5
@@ -259,7 +259,7 @@
|
||||
</div>
|
||||
<div class="hero-actions">
|
||||
<a href="#pricing" class="btn btn-brass">Ver planes y precios →</a>
|
||||
<a href="/support.html" class="btn btn-outline">Cómo funciona</a>
|
||||
<a href="/es/support.html" class="btn btn-outline">Cómo funciona</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -387,7 +387,7 @@
|
||||
<div class="faq-a"><p>No. Creemos que unos precios competitivos para nuestros clientes compartidos están en nuestro propio interés.</p></div>
|
||||
</div>
|
||||
</div>
|
||||
<a href="/support.html" class="faq-link">Todas las preguntas →</a>
|
||||
<a href="/es/support.html" class="faq-link">Todas las preguntas →</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -484,7 +484,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<p class="pricing-cta-note">Ahorre dinero, menos administración</p>
|
||||
<p class="pricing-cta-note"><a href="/odoo-hosting-2027.html"><strong>Compare todas las formas de alojar Odoo en 2027 →</strong></a></p>
|
||||
<p class="pricing-cta-note"><a href="/es/odoo-hosting-2027.html"><strong>Compare todas las formas de alojar Odoo en 2027 →</strong></a></p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -509,7 +509,7 @@
|
||||
<option value="Netherlands">Países Bajos (Amsterdam)</option>
|
||||
<option value="UK">Reino Unido (London)</option>
|
||||
</select>
|
||||
<a id="orderBuyBtn" href="/support.html#contact" class="btn btn-brass ow-buy">Continuar a Stripe →</a>
|
||||
<a id="orderBuyBtn" href="/es/support.html#contact" class="btn btn-brass ow-buy">Continuar a Stripe →</a>
|
||||
<p class="ow-note">🔒 Pago seguro con Stripe · Se requiere tarjeta para comprar, no para empezar.</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -631,7 +631,7 @@
|
||||
<div>
|
||||
<h4>Enlaces útiles</h4>
|
||||
<ul>
|
||||
<li><a href="/odoo-erp-automation-bootcamp/">ODOO Bootcamp</a></li>
|
||||
<li><a href="/es/odoo-erp-automation-bootcamp/">ODOO Bootcamp</a></li>
|
||||
<li><a href="/es/odoo-hosting-2027.html">ODOO Hosting en 2027</a></li>
|
||||
<li><a href="/es/support.html">Soporte</a></li>
|
||||
<li><a href="/legal.html">Aviso legal</a></li>
|
||||
|
||||
@@ -843,7 +843,7 @@ sudo -u postgres pg_restore -d <DB_NEW> /path/backup/<DB>.dump
|
||||
<div>
|
||||
<h4>Enlaces útiles</h4>
|
||||
<ul>
|
||||
<li><a href="/odoo-erp-automation-bootcamp/">ODOO Bootcamp</a></li>
|
||||
<li><a href="/es/odoo-erp-automation-bootcamp/">ODOO Bootcamp</a></li>
|
||||
<li><a href="/es/odoo-hosting-2027.html">ODOO Hosting en 2027</a></li>
|
||||
<li><a href="/es/support.html">Soporte</a></li>
|
||||
<li><a href="/legal.html">Aviso legal</a></li>
|
||||
|
||||
@@ -559,7 +559,7 @@
|
||||
<!-- Page-scoped top bar: the site has no global header, so the page carries its own way home. -->
|
||||
<div class="bc-topbar">
|
||||
<div class="container">
|
||||
<a class="bc-brand" href="/">ODOO4<span>projects</span></a>
|
||||
<a class="bc-brand" href="/es/">ODOO4<span>projects</span></a>
|
||||
<nav class="bc-topbar-links" aria-label="Enlaces de página">
|
||||
<a href="/es/#pricing">Planes y precios</a>
|
||||
<a href="/es/support.html">Soporte</a>
|
||||
@@ -827,7 +827,7 @@
|
||||
<div>
|
||||
<h4>Enlaces útiles</h4>
|
||||
<ul>
|
||||
<li><a href="/odoo-erp-automation-bootcamp/">ODOO Bootcamp</a></li>
|
||||
<li><a href="/es/odoo-erp-automation-bootcamp/">ODOO Bootcamp</a></li>
|
||||
<li><a href="/es/odoo-hosting-2027.html">ODOO Hosting en 2027</a></li>
|
||||
<li><a href="/es/support.html">Soporte</a></li>
|
||||
<li><a href="/legal.html">Aviso legal</a></li>
|
||||
|
||||
@@ -984,7 +984,7 @@
|
||||
<div>
|
||||
<h4>Enlaces útiles</h4>
|
||||
<ul>
|
||||
<li><a href="/odoo-erp-automation-bootcamp/">ODOO Bootcamp</a></li>
|
||||
<li><a href="/es/odoo-erp-automation-bootcamp/">ODOO Bootcamp</a></li>
|
||||
<li><a href="/es/odoo-hosting-2027.html">ODOO Hosting en 2027</a></li>
|
||||
<li><a href="/es/support.html">Soporte</a></li>
|
||||
<li><a href="/legal.html">Aviso legal</a></li>
|
||||
|
||||
Reference in new issue
Block a user