Skip to content

not-found error page doesn't work under [lng] folder #5

@mikhailovenator

Description

@mikhailovenator

Question

not-found error page doesn't work under [lng] folder. I can only add it in app root folder, but this page can't have "lng" param and it should have root layout.
We can't have root layout like in app folder because we don't have lng param:

<html
      lang={lng}
      dir={dir(lng)}

Is it possible to add not-found error page in [lng] folder? My main goal is to have localizable not-found error page. What would you suggest?

To Reproduce

I am using Next.js 13.5.6 and your repo as an example.

Expected behavior

I guess it is Next.js behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions