Nuxt-Content and Nuxt I18n: How to create a localized content
I am working on a Nuxt.js project that uses @nuxt/content and @nuxtjs/i18n modules to create a localized blog.
If I use content/blog/hellow-world.md the page works fine and the content gets fetched just fine, but if I tried to localize the content folder by creating separate language folders like this: content/en/blog/hellow-world.md and changing the fetching method inside blog/index file to include the locale like this:
I am working on a Nuxt.js project that uses @nuxt/content and @nuxtjs/i18n modules to create a localized blog. If I use content/blog/hellow-world.md the page works fine and the content gets fetched...