Skip to content

Conversation

@ComicIvans
Copy link
Contributor

Allow configuring the default locale without requiring @nuxtjs/i18n.

This change adds a new appConfig.locale option that is used when the i18n module is not enabled.

If a matching i18n/locales/<locale>.json file is found, its messages are loaded and used by useDocusI18n, and the corresponding Nuxt UI locale is applied in both app.vue and error.vue.

When @nuxtjs/i18n is present, this new option is ignored and existing behavior is preserved.

@vercel
Copy link

vercel bot commented Nov 14, 2025

@ComicIvans is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant