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

Custom 404 Page translation switch (via URL manipulation) does not work #175

Open
subramanyakashyap opened this issue May 16, 2023 · 2 comments

Comments

@subramanyakashyap
Copy link

The 404 Page translations does not work as intended with the graphql integrated. By using the useTranslation() hook.
Found that it does not work even in the demo website which is given in the Gatsbyjs documentation

Demo Site URL: https://kind-lichterman-5edcb4.netlify.app/any-random-path-to-404
Documentation Link: https://www.gatsbyjs.com/plugins/gatsby-plugin-react-i18next/#:~:text=Demo-,View%20demo%20online,-Source%20code

Action: Try Switching the languages from the Navbar while in 404 page
image

Expected Result: The page loads up the translations and shows up the page with translated content
Received Result: The page crashes
image

@Pjaerr
Copy link

Pjaerr commented Aug 30, 2023

I'm also getting this issue, but it stops the production build from running, does that happen for you too?

@KhalidHassan218
Copy link

Any Updates ?

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

3 participants