From 5fc911eba9a52a1a6e347d3e03dd0b50d6c0c5b5 Mon Sep 17 00:00:00 2001 From: Inesh Bose <56732164+ineshbose@users.noreply.github.com> Date: Tue, 14 Mar 2023 13:17:23 +0000 Subject: [PATCH] docs: mention callbacks (#1931) --- docs/content/2.guide/2.runtime-hooks.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/content/2.guide/2.runtime-hooks.md b/docs/content/2.guide/2.runtime-hooks.md index 2bff2fe73..6309b6af5 100644 --- a/docs/content/2.guide/2.runtime-hooks.md +++ b/docs/content/2.guide/2.runtime-hooks.md @@ -2,6 +2,12 @@ Nuxt i18n module exposes some [runtime hooks](https://nuxt.com/docs/guide/going-further/hooks#app-hooks-runtime) as callbacks that you can use to perform specific tasks that depend on the app's language. +::alert{type="warning"} + +For v8.0.0-beta.10 and below, please refer to [callbacks](https://i18n.nuxtjs.org/callbacks/) and [configuration](https://i18n.nuxtjs.org/options-reference#onbeforelanguageswitch). + +:: + --- **Nuxt i18n module** exposes some callbacks that you can use to perform specific tasks that depend on the app's language.