diff --git a/README.md b/README.md index 137af6766..18a34acd6 100644 --- a/README.md +++ b/README.md @@ -79,14 +79,14 @@ Update nuxt i18n module dependency inside `package.json`: ## 📖 Documentation -[Read more v8 documentation](https://v8.i18n.nuxtjs.org/). +[Read more v8 documentation](https://i18n.nuxtjs.org/). Keep in mind that not all features are currently supported yet and some things might be broken. ## 🔗 Links -- 📘 [Documentation for v8](https://v8.i18n.nuxtjs.org/) -- 📘 [Documentation for v7](https://i18n.nuxtjs.org/) +- 📘 [Documentation for v8](https://i18n.nuxtjs.org/) +- 📘 [Documentation for v7](https://i18n.nuxtjs.org/v7/setup) - 🔖 [Release notes](./CHANGELOG.md) - 👥 [Community](https://discord.nuxtjs.org/) (`#i18n` channel) diff --git a/docs/app.config.ts b/docs/app.config.ts index debe2621a..2ae11bd58 100644 --- a/docs/app.config.ts +++ b/docs/app.config.ts @@ -2,14 +2,14 @@ export default defineAppConfig({ docus: { title: '@nuxtjs/i18n', description: 'I18n (Internationalization) module for Nuxt', - url: 'https://v8.i18n.nuxtjs.org', + url: 'https://i18n.nuxtjs.org', layout: 'default', image: '/cover.png', socials: { github: 'nuxt-modules/i18n' }, github: { - branch: 'next', + branch: 'main', repo: 'nuxt-modules/i18n', owner: 'nuxt-modules', dir: 'docs/content', diff --git a/docs/content/1.getting-started/2.basic-usage.md b/docs/content/1.getting-started/2.basic-usage.md index 42d1fb707..36a565bb5 100644 --- a/docs/content/1.getting-started/2.basic-usage.md +++ b/docs/content/1.getting-started/2.basic-usage.md @@ -47,7 +47,7 @@ For more information on how to use Vue I18n Composition API, please see the docs :: ::alert{type="warning"} -You can also use Vue I18n's Legacy API in the nuxt i18n module, this requires configuring [nuxt.config](https://v8.i18n.nuxtjs.org/options/bundle) and i18n.config (`legacy: true`) +You can also use Vue I18n's Legacy API in the nuxt i18n module, this requires configuring [nuxt.config](https://i18n.nuxtjs.org/options/bundle) and i18n.config (`legacy: true`) :: Now, put (or edit) the following the page component in `pages` directory of your project: diff --git a/src/layers.ts b/src/layers.ts index cef01cbaf..63dbd7f66 100644 --- a/src/layers.ts +++ b/src/layers.ts @@ -46,7 +46,7 @@ export const checkLayerOptions = (options: NuxtI18nOptions, nuxt: Nuxt) => { if (isString(layerI18n.langDir) && isAbsolute(layerI18n.langDir)) { logger.warn( `${layerHint} \`langDir\` is set to an absolute path (\`${layerI18n.langDir}\`) but should be set a path relative to \`srcDir\` (\`${layer.config.srcDir}\`). ` + - `Absolute paths will not work in production, see https://v8.i18n.nuxtjs.org/options/lazy#langdir for more details.` + `Absolute paths will not work in production, see https://i18n.nuxtjs.org/options/lazy#langdir for more details.` ) }