After upgrading Discourse, it now shows a banner with
[Admin Notice] One of your themes or plugins needs updating for compatibility with upcoming Discourse core changes. (id:discourse.component-template-overrides) Identified plugin: âdiscourse-multilingualâ
So I guess some technical changes to this plugin will be needed before June 2025.