Files
Epicure/apps
Arnaud 355ba944ad fix: vitrine/marketing pages use visitor's browser locale, not always English (v0.78.0)
getMarketingLocale() only ever read the marketing_locale cookie, defaulting anonymous first-time visitors to English until they manually used the language switcher — even though the switcher and a full French translation already existed. Now falls back to parsing Accept-Language when no cookie is set; an explicit switcher choice still wins on every later visit.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-24 11:49:57 +02:00
..