It works for me.
Maybe you have some custom modifications in your debian-12-minimal template?
Clone your current debian-12-minimal template to save it if you need it.
Then reinstall the debian-12-minimal from the repository so you’ll have the default template, install the package there and check the thunar context menu integration in this template.