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

I18n #19

Merged
merged 4 commits into from
Nov 21, 2020
Merged

I18n #19

merged 4 commits into from
Nov 21, 2020

Conversation

shuding
Copy link
Owner

@shuding shuding commented Nov 19, 2020

The only gotcha for now is that you can't skip the default locale in the extension, e.g.: index.en.mdx that .en is required (for all files) if you enable Next.js i18n.

Everything else should be working fine. Another improvement we can do is to move that filterRouteLocale into the loader (Is that doable? Absolutely) so themes will never need to be changed to adapt i18n. done

@vercel
Copy link

vercel bot commented Nov 19, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/shuding/nextra/6tci6tfd0
✅ Preview: Failed

[Deployment for 93efc86 failed]

@shuding shuding marked this pull request as ready for review November 21, 2020 15:35
@shuding shuding merged commit 2fbb684 into core Nov 21, 2020
@shuding shuding deleted the i18n branch November 21, 2020 15:35
@shuding shuding mentioned this pull request Nov 21, 2020
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

Successfully merging this pull request may close these issues.

None yet

1 participant