Completa i18n IT/EN/FR/DE/ES su sito pubblico, area autenticata e admin.

Tutte le view marketing, legali, viewer, dashboard e admin usano t(); mailer utente-facing e flash localizzati; admin con LocaleResolver e selettore lingua.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-24 00:38:50 +02:00
co-authored by Cursor
parent fb7068f86c
commit b88f44ab1c
158 changed files with 9444 additions and 1536 deletions
@@ -1,5 +1,7 @@
<%# Selettore lingua a bandiere (allineato a destra nel menu) %>
<%# locals: (locale_path: nil) %>
<% current = current_language_option %>
<% target_path = locale_path || public_locale_path %>
<div class="lang-switcher" data-lang-switcher>
<button
type="button"
@@ -24,7 +26,7 @@
>
<% language_options.each do |opt| %>
<% selected = opt[:code].to_s == current_locale.to_s %>
<%= button_to public_locale_path,
<%= button_to target_path,
method: :patch,
params: { locale: opt[:code] },
class: "lang-switcher__option#{' is-active' if selected}",