microapps / gatsby-plugin-react-i18next

Easily translate your Gatsby website into multiple languages
MIT License
121 stars 72 forks source link

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

Open subramanyakashyap opened 1 year ago

subramanyakashyap commented 1 year ago

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 commented 1 year ago

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

KhalidHassan218 commented 6 months ago

Any Updates ?