Skip to content

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

@subramanyakashyap

Description

@subramanyakashyap

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

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