Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Support for i18n #24

Open
offline-first opened this issue Jan 8, 2023 · 0 comments
Open

Support for i18n #24

offline-first opened this issue Jan 8, 2023 · 0 comments

Comments

@offline-first
Copy link

Any plans to support i18n like nuxtjs/sitemap?

nuxt.config.js

{
  modules: [
    'nuxt-i18n',
    '@nuxtjs/sitemap'
  ],
  i18n: {
    locales: ['en', 'es', 'fr'],
    defaultLocale: 'en'
  },
  sitemap: {
    hostname: 'https://example.com',
    // shortcut notation (basic)
    i18n: true,
    // nuxt-i18n notation (advanced)
    i18n: {
      locales: ['en', 'es', 'fr'],
      routesNameSeparator: '___'
    }
  }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant