opened
Stewiey
username_0
hey, first of all i'd like to mention that I'm not using graphql at all in my project.

I'm creating my pages with createPages (in gatsby-node.js), everything works just fine beside the page that needs extra prop from the slug,

here how i create it

createPages({
    path: '/item',
    matchPath: '/item/:itemId',
    component: path.resolve('./src/pages/ShowItem.js'),
    context: {},
});
it works only for the default language, for other languages like es for example
http://localhost:8000/es/item/some-item-id
it would lead to page NOT FOUND, I tried so many things like
matchPath: '/:lang?/item/:itemId', - this way gatsby will redirect to the same path with extra language prefix (in addition to the existing one), I tried using pages in the option with this matchPath but it didn't change anything.

not sure what i'm missing here but i can't figure it out, thanks!
language prefix and matchPath doesn't work togather?
issue
created
sanju-developer
username_1
Facing same issue :disappointed:
comment
created
ozburo
username_2
Related to #69
comment