How can I got all pages include duplicate?

I am using just-the-docs for my page.
Just the docs make it’s post as page. so, I should make sitemap.xml with site.pages.

Now, I want to use polyglot.
ployglot specify 1 permalink with multiple language.
it makes 2 link by itself.

I wanted to make sitemap for both language.
But site.pages gave me only default lang.
Anf site.posts gave me nothing.

How can I make sitemap?

I’m not familiar with polyglot, have you checked their example for how to do a sitemap?