//nuxt-content-i18nbyMickL

nuxt-content-i18n

2
0
2
Vue

Nuxt Content + Nuxt i18n + Nuxt Studio

Example on how to use Nuxt Content with Nuxt i18n and Nuxt Studio.

Features:

  • Locale switching
  • Translatable slugs

Example routes:

  • undefinedindex.vueundefined
    • Static path without translated slug
  • undefinedsome-page.vueundefined
    • Static path with translated slug
    • Content is missing for locale it, should fallback to en
  • undefinedblog/index.vueundefined
    • Static path without translated slug
    • Second content query
    • Content is missing for locale it, should fallback to en
  • undefinedblog/[slug].vueundefined
    • Dynamic path with translated slug
    • Content is missing for locale it, should fallback to en

Todos (Nuxt Content)

Todos (Nuxt Studio)

  • Does not work with static pages, e.g. /de -> navigates to /mainpage
  • Does not work with static pages with translated slugs, e.g. /de/eine-seite -> navigates to /some-page
[beta]v0.14.0