From fa758b7e3115b80df79cdd4d2b19582054590d8a Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Thu, 5 Mar 2026 19:50:14 +0100 Subject: [PATCH] fix(i18n): use get_translated_description() in platform base template The footer and meta description tag used platform.description (raw column) instead of platform.get_translated_description(), so DE and LB translations were never displayed. FR/EN appeared to work because the base description field was synced from the default language on admin save. Co-Authored-By: Claude Opus 4.6 --- app/templates/platform/base.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/platform/base.html b/app/templates/platform/base.html index 00a832ea..8ad39fe6 100644 --- a/app/templates/platform/base.html +++ b/app/templates/platform/base.html @@ -10,7 +10,7 @@ {% block title %}{{ platform.name if platform else 'Wizard' }}{% endblock %} {# SEO Meta Tags #} - + {# Favicon #} @@ -182,7 +182,7 @@

- {{ platform.description if platform else '' }} + {{ platform.get_translated_description(current_language|default('fr'), platform.default_language|default('fr')) if platform else '' }}