microapps / gatsby-plugin-react-i18next

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

On navigate() show child route shows 404 not found. #27

Open sanju-developer opened 4 years ago

sanju-developer commented 4 years ago

Hello I have one issue, Please help

I have used this "gatsby-plugin-react-i18next" for language translation.

My project contains One parent route /home and have one child route /home/detail/:id. In order to go to the child route I have used navigate(/home/detail/${post.id}/}) this from import { useI18next } from "gatsby-plugin-react-i18next" but on child route it says "Page Not Found"

To check code you can find here full code in lang-trans branch.

Thanks in advance :)

yogeshkotadiya commented 3 years ago

Facing the same issue, the plugin doesn't seem to support Gatbsy's FileSystem Route API.