Closed gaomingzhao666 closed 1 month ago
You haven't configured a langDir
so the module is unable to find the file configured for each entry in locales
, adding langDir: './internationalization/lang'
to the i18n config in nuxt.config.ts
should resolve your issue.
We should probably check if file
or files
is configured without a langDir
so we can provide a better error message.
Let me know if you have any questions, if the suggested changes solve your problem we can close this issue!
@BobbieGoede Thank you so much for your help, the problem is well-solved!!
Environment
main dependencies is following
Reproduction
Reproduction is here
Describe the bug
I can not use custom path with a specific folder path, it is work properly when using a default path, but when I set custom path as /internationalization/i18n.config.ts as my config file path, that config file is not import properly.
Logs