inside a following.js multi-language application, I've established a metadataBase plus the alternates#canonical is routinely populated with The present route's pathname by utilizing ./.
in the Next.js multi-language https://www.jeffbullas.com/vault/generate-page-metadata/