Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n dynamic page routes not showing on sitemap #48

Closed
lisaschumann opened this issue May 15, 2023 · 3 comments
Closed

i18n dynamic page routes not showing on sitemap #48

lisaschumann opened this issue May 15, 2023 · 3 comments

Comments

@lisaschumann
Copy link

Details

I have set up my build with two languages (English and German) and I am struggling to generate the dynamic routes in the sitemap for each page as "/en/{pagename}" and "/de/{pagename}" or for the blog posts as "/en/blog/{blogpostname}" and "/de/blog/{blogpostname}" respectively. They are not coming through on the sitemap, and I feel like I miss something on the basic set-up or understanding, that is preventing them from coming through.

I made a reproduction here: https://stackblitz.com/edit/nuxt-starter-uhq2jp?file=nuxt.config.ts
The blog posts are being fetched from contentful, but in the reproduction I am just using the data array to keep it simple.

Really appreciate any help or perhaps there is already an existing example version online.

Greetings from Germany!

@harlan-zw
Copy link
Collaborator

Thank you for the reproduction @lisaschumann! Sorry for the delay in response, currently traveling.

I will try and look at this when possible.

@lisaschumann
Copy link
Author

#61 seems to be the one probably solving my issue here:)

@harlan-zw
Copy link
Collaborator

Will close this as a duplicate of #61

@harlan-zw harlan-zw closed this as not planned Won't fix, can't repro, duplicate, stale Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants