Skip to content

error pages not translated when accessed in browser for the first time #149

Open
@jitterbux

Description

@jitterbux

Browser: Chrome 115.0.5790.170
os: macOS 13.2.1

If you try to visit https://locale-router-advanced.netlify.app/about/asdfasdfasdfasfdasdf

you will get:

error.shit.happens (404)
error.default

only after you reload the page manually again, you will then get the correct text:

Oh, dear... (404)
Page not found.

The same is true for the /cs/ and /de/ version.

UPDATE:
It seems that not only for the first time but also if you leave the page open in the browser for a certain amount of time a few minutes and you refresh it, you get the error.shit.happens instead of Oh, dear... translation again. At least, for me it behaves like that. I noticed it when I tried to refreshed older tab I opened some time ago in Chrome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingexamplesIssue related to examplesgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions