Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Joinyy opened this issue Dec 21, 2020 · 1 comment
Open

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

Joinyy opened this issue Dec 21, 2020 · 1 comment

Comments

@Joinyy
Copy link

Joinyy commented Dec 21, 2020

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.

@redblue9771
Copy link

I have the same problem~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants