Skip to content

File System Route API and i18n detect the same pattern #163

@Joinyy

Description

@Joinyy

I have generated some subpages via the new File System Route API from gatsby. After introducing this plugin the route file gets detected as a language file:

Filename: {ContentfulJob.id}.js
Resulting page:
grafik

The plugin clearly picks up the dot inside the curly braces. I also tried to localize my route file, but that didn't work either:

Filename: {ContentfulJob.id}.en.js
grafik

The latter is most certainly an issue with the new API, as nothing gets generated here and the failing element PageCreator implements the new API to my knowledge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions