The PDV: vault event token [event:deadline_formatted] (pdv_eca) formats the dormancy deadline with the medium date format but passes no langcode to the date formatter, so it renders in the current (request or site) language. At dispatch time - cron, or a request in the site default language - that is typically not the owner's language, so an owner-facing notification shows an English date inside an otherwise French (or other) message: "supprimé le Sat, 13 Jun 2026" instead of "le sam, 13 juin 2026".
A Set language action in the ECA model does not help, because the token value is already formatted when the event data is built.
Fix: format the deadline in the owner's preferred language - as pdv_mail and pdv_message already do for their @deadline placeholder - so [event:deadline_formatted] is correct regardless of the current language.
A merge request with a kernel-test regression guard (a French owner with a distinct fr date pattern; the token must follow it) is attached.
Issue fork pdv-3594034
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
mably commented