Guide

Ignoring Localized Routes

Customize localized route exclusions per page component.
This feature is not supported when using the no_prefixstrategy unless you're also using differentDomains.

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 the module configuration.

Pick localized routes

<script setup>
defineI18nRoute({
  locales: ['fr', 'es']
})
</script>

Disable localized routes

<script setup>
defineI18nRoute(false)
</script>

Copyright © 2024