From d9d34ab102fb9fbcc7e5d1dc893500ac321e05aa Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Fri, 2 Jan 2026 20:40:45 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20use=20fr-LU=20locale=20for=20currency=20?= =?UTF-8?q?formatting=20(29,99=20=E2=82=AC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update all shop templates to use French Luxembourg locale which displays the Euro sign after the number: 29,99 € 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- app/templates/shop/account/order-detail.html | 2 +- app/templates/shop/account/orders.html | 2 +- app/templates/shop/account/profile.html | 2 +- app/templates/shop/products.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/templates/shop/account/order-detail.html b/app/templates/shop/account/order-detail.html index 1ee071b3..84e9ffcb 100644 --- a/app/templates/shop/account/order-detail.html +++ b/app/templates/shop/account/order-detail.html @@ -464,7 +464,7 @@ function shopOrderDetailPage() { formatPrice(amount) { if (!amount && amount !== 0) return '-'; - return new Intl.NumberFormat('de-DE', { + return new Intl.NumberFormat('fr-LU', { style: 'currency', currency: 'EUR' }).format(amount); diff --git a/app/templates/shop/account/orders.html b/app/templates/shop/account/orders.html index fe3345bc..5a6f190b 100644 --- a/app/templates/shop/account/orders.html +++ b/app/templates/shop/account/orders.html @@ -219,7 +219,7 @@ function shopOrdersPage() { formatPrice(amount) { if (!amount && amount !== 0) return '-'; - return new Intl.NumberFormat('de-DE', { + return new Intl.NumberFormat('fr-LU', { style: 'currency', currency: 'EUR' }).format(amount); diff --git a/app/templates/shop/account/profile.html b/app/templates/shop/account/profile.html index cf681aa5..75e8000b 100644 --- a/app/templates/shop/account/profile.html +++ b/app/templates/shop/account/profile.html @@ -525,7 +525,7 @@ function shopProfilePage() { formatPrice(amount) { if (!amount && amount !== 0) return '-'; - return new Intl.NumberFormat('de-DE', { + return new Intl.NumberFormat('fr-LU', { style: 'currency', currency: 'EUR' }).format(amount); diff --git a/app/templates/shop/products.html b/app/templates/shop/products.html index 7c4e2ddf..8265bfa7 100644 --- a/app/templates/shop/products.html +++ b/app/templates/shop/products.html @@ -209,7 +209,7 @@ document.addEventListener('alpine:init', () => { formatPrice(amount) { if (!amount && amount !== 0) return ''; - return new Intl.NumberFormat('de-DE', { + return new Intl.NumberFormat('fr-LU', { style: 'currency', currency: 'EUR' }).format(amount);