Skip to content

Module not found: Can't resolve '@next-translate-root/locales' #898

Answered by aralroca
mekhamata asked this question in Q&A
Discussion options

You must be logged in to vote

First check if you have the locales folder with the jsons. If it's this case, I think is related with this issue #851

The bug comes with SWC in Next.js 12, we need to investigate better to fix it. Any idea or proposal will be very welcome.

For now if you need to overwrite the loadLocaleFrom you can use this temporal workaround #851 (comment)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aralroca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants