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

with-next-translate example broken (html, body missing in layout; 404 pages) #67950

Open
1 task done
MonstraG opened this issue Jul 19, 2024 · 0 comments
Open
1 task done
Labels
examples Issue/PR related to examples

Comments

@MonstraG
Copy link
Contributor

MonstraG commented Jul 19, 2024

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

stackblitz
(but also local install via create-next-app)

Which example does this report relate to?

with-next-translate

What browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

Describe the Bug

When opened, says:

Missing required html tags
The following tags are missing in the Root Layout: <html>, <body>.
Read more at https://nextjs.org/docs/messages/missing-root-layout-tags

Even if the tags are added, the index page returns 404.
If manually navigated to /en as project seems to suggest, it's still 404
If manually navigated to /en-US it finally renders the page but without any translations, and all links inside lead to 404.

Expected Behavior

works.

To Reproduce

  1. go to https://github.com/vercel/next.js/tree/main/examples/with-next-translate
  2. click Stackblitz
@MonstraG MonstraG added the examples Issue/PR related to examples label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Issue/PR related to examples
Projects
None yet
Development

No branches or pull requests

1 participant