gatsby-plugin-react-i18next icon indicating copy to clipboard operation
gatsby-plugin-react-i18next copied to clipboard

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

Open subramanyakashyap opened this issue 2 years ago • 2 comments

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

subramanyakashyap avatar May 16 '23 07:05 subramanyakashyap

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

Pjaerr avatar Aug 30 '23 13:08 Pjaerr

Any Updates ?

KhalidHassan218 avatar Apr 12 '24 11:04 KhalidHassan218