- Run PHP server: php -S localhost:9000 (MacOS)
- Add sitemap.xml
- Go to: localhost:9000/sitemap.php
- Get output.xml
In sitemap.php you can change the languages add more or change the URLs. For demonstration you can find pt and es languages on sitemap.php.