within a upcoming.js multi-language app, I've established a metadataBase along with the alternates#canonical is routinely populated with the current route's pathname by using ./.
You've protected quite a few meta tags, https://www.jeffbullas.com/vault/generate-page-metadata/