Problem: You are trying to generate a sitemap for your website using WPML, but the sitemap_index.xml file is only available in the original language ("pt") and not in the translated languages ("en" and "fr"). Solution: If you're experiencing this issue, it's important to note that your site uses different directories per language as the language URL structure. In this scenario, you will have one sitemap that includes all languages. You can only have a separate sitemap per language if your site uses a different domain per language. For example:
If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket at our support forum.