inside of a Next.js multi-language application, I've established a metadataBase and also the alternates#canonical is immediately populated with the current route's pathname through the use of ./.
This meta tag is https://www.jeffbullas.com/vault/generate-page-metadata/