How do you create a multilingual XML sitemap?

Use the sitemap integration supported by the multilingual and SEO plugins. Each indexable translated URL should appear under its public language address. Depending on the stack, translations may share content-type sitemaps or appear in language-specific files.
Open the sitemap while logged out and check representative pages, terms, products, and images. Every listed URL should return a successful response, use a self-canonical, and avoid noindex. Exclude empty language archives, redirects, drafts, and private content.
Submit the sitemap index in Search Console and monitor each language through suitable properties or filters. Exclude XML and XSL paths from page caching and language redirects. Keep one sitemap generator active, and retest after changing the default language, URL structure, SEO plugin, or translation system.