V7

Ignoring Localized Routes

This feature is not supported with the no_prefixstrategy.

If you'd like some pages to be available in some languages only, you can configure the list of supported languages to override the global settings. The options can be specified within either the page components themselves or globally, within then module options.

Pick localized routes

export default {
  nuxtI18n: {
    locales: ['fr', 'es']
  }
}

Disable localized routes

export default {
  nuxtI18n: false
}

Copyright © 2024