In a future.js multi-language app, I have set a metadataBase as well as the alternates#canonical is instantly populated with the current route's pathname by using ./.
Subsequently, you will get a All set-built fragment https://www.jeffbullas.com/vault/generate-page-metadata/