[{"data":1,"prerenderedAt":1179},["ShallowReactive",2],{"navigation":3,"navigation_docs":214,"-docs-guide-runtime-hooks":270,"-docs-guide-runtime-hooks-surround":784,"\u002Fdocs\u002Fguide\u002Fruntime-hooks":789},[4],{"title":5,"path":6,"stem":7,"children":8,"page":131},"Docs","\u002Fdocs","docs",[9,25,105,132,150,204],{"title":10,"path":11,"stem":12,"children":13,"icon":24},"Getting started","\u002Fdocs\u002Fgetting-started","docs\u002F01.getting-started\u002F01.index",[14,16,20],{"title":15,"path":11,"stem":12},"Installation",{"title":17,"path":18,"stem":19},"Usage","\u002Fdocs\u002Fgetting-started\u002Fusage","docs\u002F01.getting-started\u002F02.usage",{"title":21,"path":22,"stem":23},"Vue I18n Configuration","\u002Fdocs\u002Fgetting-started\u002Fvue-i18n","docs\u002F01.getting-started\u002F03.vue-i18n","i-lucide-square-play",{"title":26,"path":27,"stem":28,"children":29,"icon":104},"Guide","\u002Fdocs\u002Fguide","docs\u002F02.guide\u002F01.index",[30,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100],{"title":31,"path":27,"stem":28},"Routing Strategies",{"title":33,"path":34,"stem":35},"Runtime Hooks","\u002Fdocs\u002Fguide\u002Fruntime-hooks","docs\u002F02.guide\u002F02.runtime-hooks",{"title":37,"path":38,"stem":39},"Custom Route Paths","\u002Fdocs\u002Fguide\u002Fcustom-paths","docs\u002F02.guide\u002F03.custom-paths",{"title":41,"path":42,"stem":43},"Ignoring Localized Routes","\u002Fdocs\u002Fguide\u002Fignoring-localized-routes","docs\u002F02.guide\u002F04.ignoring-localized-routes",{"title":45,"path":46,"stem":47},"Browser language detection","\u002Fdocs\u002Fguide\u002Fbrowser-language-detection","docs\u002F02.guide\u002F05.browser-language-detection",{"title":49,"path":50,"stem":51},"SEO","\u002Fdocs\u002Fguide\u002Fseo","docs\u002F02.guide\u002F06.seo",{"title":53,"path":54,"stem":55},"Lazy-load translations","\u002Fdocs\u002Fguide\u002Flazy-load-translations","docs\u002F02.guide\u002F07.lazy-load-translations",{"title":57,"path":58,"stem":59},"Lang Switcher","\u002Fdocs\u002Fguide\u002Flang-switcher","docs\u002F02.guide\u002F08.lang-switcher",{"title":61,"path":62,"stem":63},"Different Domains","\u002Fdocs\u002Fguide\u002Fdifferent-domains","docs\u002F02.guide\u002F09.different-domains",{"title":65,"path":66,"stem":67},"Multi domain locales","\u002Fdocs\u002Fguide\u002Fmulti-domain-locales","docs\u002F02.guide\u002F10.multi-domain-locales",{"title":69,"path":70,"stem":71},"Locale fallback","\u002Fdocs\u002Fguide\u002Flocale-fallback","docs\u002F02.guide\u002F11.locale-fallback",{"title":73,"path":74,"stem":75},"Per-Component Translations","\u002Fdocs\u002Fguide\u002Fper-component-translations","docs\u002F02.guide\u002F12.per-component-translations",{"title":77,"path":78,"stem":79},"Extending messages hook","\u002Fdocs\u002Fguide\u002Fextend-messages","docs\u002F02.guide\u002F13.extend-messages",{"title":81,"path":82,"stem":83},"Extending pages","\u002Fdocs\u002Fguide\u002Fextend-pages","docs\u002F02.guide\u002F14.extend-pages",{"title":85,"path":86,"stem":87},"Layers","\u002Fdocs\u002Fguide\u002Flayers","docs\u002F02.guide\u002F15.layers",{"title":89,"path":90,"stem":91},"Server-Side Translations","\u002Fdocs\u002Fguide\u002Fserver-side-translations","docs\u002F02.guide\u002F16.server-side-translations",{"title":93,"path":94,"stem":95},"Module integration","\u002Fdocs\u002Fguide\u002Finstall-module","docs\u002F02.guide\u002F17.install-module",{"title":97,"path":98,"stem":99},"Migration Guide","\u002Fdocs\u002Fguide\u002Fmigrating","docs\u002F02.guide\u002F90.migrating",{"title":101,"path":102,"stem":103},"New features","\u002Fdocs\u002Fguide\u002Fnew-features","docs\u002F02.guide\u002F91.new-features","i-heroicons-book-open",{"title":106,"icon":107,"path":108,"stem":109,"children":110,"page":131},"API","i-lucide-square-chart-gantt","\u002Fdocs\u002Fapi","docs\u002F04.api",[111,115,119,123,127],{"title":112,"path":113,"stem":114},"Options","\u002Fdocs\u002Fapi\u002Foptions","docs\u002F04.api\u002F00.options",{"title":116,"path":117,"stem":118},"Vue I18n","\u002Fdocs\u002Fapi\u002Fvue-i18n","docs\u002F04.api\u002F04.vue-i18n",{"title":120,"path":121,"stem":122},"Vue","\u002Fdocs\u002Fapi\u002Fvue","docs\u002F04.api\u002F05.vue",{"title":124,"path":125,"stem":126},"Nuxt","\u002Fdocs\u002Fapi\u002Fnuxt","docs\u002F04.api\u002F06.nuxt",{"title":128,"path":129,"stem":130},"Runtime config","\u002Fdocs\u002Fapi\u002Fruntime-config","docs\u002F04.api\u002F07.runtime-config",false,{"title":133,"icon":134,"path":135,"stem":136,"children":137,"page":131},"Components","i-lucide-square-code","\u002Fdocs\u002Fcomponents","docs\u002F05.components",[138,142,146],{"title":139,"path":140,"stem":141},"\u003CNuxtLinkLocale>","\u002Fdocs\u002Fcomponents\u002Fnuxt-link-locale","docs\u002F05.components\u002F01.nuxt-link-locale",{"title":143,"path":144,"stem":145},"\u003CSwitchLocalePathLink>","\u002Fdocs\u002Fcomponents\u002Fswitch-locale-path-link","docs\u002F05.components\u002F02.switch-locale-path-link",{"title":147,"path":148,"stem":149},"Vue I18n components","\u002Fdocs\u002Fcomponents\u002Fvue-i18n-components","docs\u002F05.components\u002F03.vue-i18n-components",{"title":151,"icon":152,"path":153,"stem":154,"children":155,"page":131},"Composables","i-lucide-square-function","\u002Fdocs\u002Fcomposables","docs\u002F06.composables",[156,160,164,168,172,176,180,184,188,192,196,200],{"title":157,"path":158,"stem":159},"useLocalePath","\u002Fdocs\u002Fcomposables\u002Fuse-locale-path","docs\u002F06.composables\u002F01.use-locale-path",{"title":161,"path":162,"stem":163},"useLocaleRoute","\u002Fdocs\u002Fcomposables\u002Fuse-locale-route","docs\u002F06.composables\u002F02.use-locale-route",{"title":165,"path":166,"stem":167},"useSwitchLocalePath","\u002Fdocs\u002Fcomposables\u002Fuse-switch-locale-path","docs\u002F06.composables\u002F03.use-switch-locale-path",{"title":169,"path":170,"stem":171},"useLocaleHead","\u002Fdocs\u002Fcomposables\u002Fuse-locale-head","docs\u002F06.composables\u002F04.use-locale-head",{"title":173,"path":174,"stem":175},"useSetI18nParams","\u002Fdocs\u002Fcomposables\u002Fuse-set-i18n-params","docs\u002F06.composables\u002F05.use-set-i18n-params",{"title":177,"path":178,"stem":179},"useRouteBaseName","\u002Fdocs\u002Fcomposables\u002Fuse-route-base-name","docs\u002F06.composables\u002F06.use-route-base-name",{"title":181,"path":182,"stem":183},"useBrowserLocale","\u002Fdocs\u002Fcomposables\u002Fuse-browser-locale","docs\u002F06.composables\u002F07.use-browser-locale",{"title":185,"path":186,"stem":187},"useCookieLocale","\u002Fdocs\u002Fcomposables\u002Fuse-cookie-locale","docs\u002F06.composables\u002F08.use-cookie-locale",{"title":189,"path":190,"stem":191},"useTranslation","\u002Fdocs\u002Fcomposables\u002Fuse-translation","docs\u002F06.composables\u002F09.use-translation",{"title":193,"path":194,"stem":195},"defineI18nConfig","\u002Fdocs\u002Fcomposables\u002Fdefine-i18n-config","docs\u002F06.composables\u002F10.define-i18n-config",{"title":197,"path":198,"stem":199},"defineI18nLocale","\u002Fdocs\u002Fcomposables\u002Fdefine-i18n-locale","docs\u002F06.composables\u002F11.define-i18n-locale",{"title":201,"path":202,"stem":203},"defineI18nLocaleDetector","\u002Fdocs\u002Fcomposables\u002Fdefine-i18n-locale-detector","docs\u002F06.composables\u002F12.define-i18n-locale-detector",{"title":205,"icon":206,"path":207,"stem":208,"children":209,"page":131},"Compiler Macros","i-lucide-aperture","\u002Fdocs\u002Fcompiler-macros","docs\u002F07.compiler-macros",[210],{"title":211,"path":212,"stem":213},"defineI18nRoute","\u002Fdocs\u002Fcompiler-macros\u002Fdefine-i18n-route","docs\u002F07.compiler-macros\u002F01.define-i18n-route",[215,220,241,248,253,267],{"title":10,"path":11,"stem":12,"children":216,"icon":24},[217,218,219],{"title":15,"path":11,"stem":12},{"title":17,"path":18,"stem":19},{"title":21,"path":22,"stem":23},{"title":26,"path":27,"stem":28,"children":221,"icon":104},[222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240],{"title":31,"path":27,"stem":28},{"title":33,"path":34,"stem":35},{"title":37,"path":38,"stem":39},{"title":41,"path":42,"stem":43},{"title":45,"path":46,"stem":47},{"title":49,"path":50,"stem":51},{"title":53,"path":54,"stem":55},{"title":57,"path":58,"stem":59},{"title":61,"path":62,"stem":63},{"title":65,"path":66,"stem":67},{"title":69,"path":70,"stem":71},{"title":73,"path":74,"stem":75},{"title":77,"path":78,"stem":79},{"title":81,"path":82,"stem":83},{"title":85,"path":86,"stem":87},{"title":89,"path":90,"stem":91},{"title":93,"path":94,"stem":95},{"title":97,"path":98,"stem":99},{"title":101,"path":102,"stem":103},{"title":106,"icon":107,"path":108,"stem":109,"children":242,"page":131},[243,244,245,246,247],{"title":112,"path":113,"stem":114},{"title":116,"path":117,"stem":118},{"title":120,"path":121,"stem":122},{"title":124,"path":125,"stem":126},{"title":128,"path":129,"stem":130},{"title":133,"icon":134,"path":135,"stem":136,"children":249,"page":131},[250,251,252],{"title":139,"path":140,"stem":141},{"title":143,"path":144,"stem":145},{"title":147,"path":148,"stem":149},{"title":151,"icon":152,"path":153,"stem":154,"children":254,"page":131},[255,256,257,258,259,260,261,262,263,264,265,266],{"title":157,"path":158,"stem":159},{"title":161,"path":162,"stem":163},{"title":165,"path":166,"stem":167},{"title":169,"path":170,"stem":171},{"title":173,"path":174,"stem":175},{"title":177,"path":178,"stem":179},{"title":181,"path":182,"stem":183},{"title":185,"path":186,"stem":187},{"title":189,"path":190,"stem":191},{"title":193,"path":194,"stem":195},{"title":197,"path":198,"stem":199},{"title":201,"path":202,"stem":203},{"title":205,"icon":206,"path":207,"stem":208,"children":268,"page":131},[269],{"title":211,"path":212,"stem":213},{"id":271,"title":33,"body":272,"description":778,"extension":779,"links":780,"meta":781,"navigation":600,"path":34,"seo":782,"stem":35,"__hash__":783},"docs\u002Fdocs\u002F02.guide\u002F02.runtime-hooks.md",{"type":273,"value":274,"toc":769},"minimark",[275,283,288,309,316,319,398,411,423,426,428,458,461,464,765],[276,277,278,282],"p",{},[279,280,281],"strong",{},"Nuxt i18n module"," provides runtime hooks to perform specific tasks based on your app's language.",[284,285,287],"h2",{"id":286},"hooks","Hooks",[289,290,292],"h3",{"id":291},"i18nbeforelocaleswitch",[293,294,298,303,307],"code",{"className":295,"language":296,"style":297},"language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","ts-type","",[299,300,302],"span",{"class":301},"sMK4o","'",[299,304,306],{"class":305},"sfazB","i18n:beforeLocaleSwitch",[299,308,302],{"class":301},[276,310,311,312,315],{},"Called before the app's locale is switched, the ",[293,313,314],{},"newLocale"," property can be overridden to change the locale being switched to.",[276,317,318],{},"Parameters:",[320,321,322,342,357,377],"ul",{},[323,324,325,328],"li",{},[293,326,327],{},"oldLocale",[320,329,330,339],{},[323,331,332,333],{},"type: ",[293,334,335],{"className":295,"language":296,"style":297},[299,336,338],{"class":337},"sBMFI","string",[323,340,341],{},"The app's locale before the switch",[323,343,344,346],{},[293,345,314],{},[320,347,348,354],{},[323,349,332,350],{},[293,351,352],{"className":295,"language":296,"style":297},[299,353,338],{"class":337},[323,355,356],{},"The app's locale after the switch",[323,358,359,362],{},[293,360,361],{},"initialSetup",[320,363,364,370],{},[323,365,332,366],{},[293,367,368],{"className":295,"language":296,"style":297},[299,369,338],{"class":337},[323,371,372,373,376],{},"Set to ",[293,374,375],{},"true"," if it's the initial locale switch that triggers on app load. It's a special case since the locale is not technically set yet so we're switching from no locale to locale.",[323,378,379,382],{},[293,380,381],{},"context",[320,383,384,391],{},[323,385,332,386],{},[293,387,388],{"className":295,"language":296,"style":297},[299,389,390],{"class":337},"NuxtApp",[323,392,393,394,397],{},"The Nuxt app, this property is deprecated, the same can be achieved by using ",[293,395,396],{},"const context = useNuxtApp()"," outside the hook scope instead.",[276,399,400,401],{},"Returns: ",[293,402,403,405,408],{"className":295,"language":296,"style":297},[299,404,338],{"class":337},[299,406,407],{"class":301}," |",[299,409,410],{"class":337}," null",[289,412,414],{"id":413},"i18nlocaleswitched",[293,415,416,418,421],{"className":295,"language":296,"style":297},[299,417,302],{"class":301},[299,419,420],{"class":305},"i18n:localeSwitched",[299,422,302],{"class":301},[276,424,425],{},"Called right after the app's locale has been switched.",[276,427,318],{},[320,429,430,444],{},[323,431,432,434],{},[293,433,327],{},[320,435,436,442],{},[323,437,332,438],{},[293,439,440],{"className":295,"language":296,"style":297},[299,441,338],{"class":337},[323,443,341],{},[323,445,446,448],{},[293,447,314],{},[320,449,450,456],{},[323,451,332,452],{},[293,453,454],{"className":295,"language":296,"style":297},[299,455,338],{"class":337},[323,457,356],{},[284,459,17],{"id":460},"usage",[276,462,463],{},"A typical usage would be to define those callbacks via a plugin where you can access the app's context (useful if you need to change Axios' config when the language changes for example).",[465,466,471],"pre",{"className":467,"code":468,"filename":469,"language":470,"meta":297,"style":297},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtPlugin(nuxtApp => {\n  \u002F\u002F called right before setting a new locale\n  nuxtApp.hook('i18n:beforeLocaleSwitch', (options) => {\n    console.log('onBeforeLanguageSwitch', options.oldLocale, options.newLocale, options.initialSetup)\n\n    \u002F\u002F You can override the new locale by setting it to a different value\n    if(options.newLocale === 'fr') {\n      options.newLocale = 'en'\n    }\n  })\n\n  \u002F\u002F called right after a new locale has been set\n  nuxtApp.hook('i18n:localeSwitched', (options) => {\n    console.log('onLanguageSwitched', options.oldLocale, options.newLocale)\n  })\n})\n","\u002Fplugins\u002Fi18n.ts","ts",[293,472,473,503,510,547,595,602,608,639,660,666,674,679,685,714,750,757],{"__ignoreMap":297},[299,474,477,481,484,488,492,496,500],{"class":475,"line":476},"line",1,[299,478,480],{"class":479},"s7zQu","export",[299,482,483],{"class":479}," default",[299,485,487],{"class":486},"s2Zo4"," defineNuxtPlugin",[299,489,491],{"class":490},"sTEyZ","(",[299,493,495],{"class":494},"sHdIc","nuxtApp",[299,497,499],{"class":498},"spNyl"," =>",[299,501,502],{"class":301}," {\n",[299,504,506],{"class":475,"line":505},2,[299,507,509],{"class":508},"sHwdD","  \u002F\u002F called right before setting a new locale\n",[299,511,513,516,519,522,525,527,529,531,534,537,540,543,545],{"class":475,"line":512},3,[299,514,515],{"class":490},"  nuxtApp",[299,517,518],{"class":301},".",[299,520,521],{"class":486},"hook",[299,523,491],{"class":524},"swJcz",[299,526,302],{"class":301},[299,528,306],{"class":305},[299,530,302],{"class":301},[299,532,533],{"class":301},",",[299,535,536],{"class":301}," (",[299,538,539],{"class":494},"options",[299,541,542],{"class":301},")",[299,544,499],{"class":498},[299,546,502],{"class":301},[299,548,550,553,555,558,560,562,565,567,569,572,574,576,578,580,582,584,586,588,590,592],{"class":475,"line":549},4,[299,551,552],{"class":490},"    console",[299,554,518],{"class":301},[299,556,557],{"class":486},"log",[299,559,491],{"class":524},[299,561,302],{"class":301},[299,563,564],{"class":305},"onBeforeLanguageSwitch",[299,566,302],{"class":301},[299,568,533],{"class":301},[299,570,571],{"class":490}," options",[299,573,518],{"class":301},[299,575,327],{"class":490},[299,577,533],{"class":301},[299,579,571],{"class":490},[299,581,518],{"class":301},[299,583,314],{"class":490},[299,585,533],{"class":301},[299,587,571],{"class":490},[299,589,518],{"class":301},[299,591,361],{"class":490},[299,593,594],{"class":524},")\n",[299,596,598],{"class":475,"line":597},5,[299,599,601],{"emptyLinePlaceholder":600},true,"\n",[299,603,605],{"class":475,"line":604},6,[299,606,607],{"class":508},"    \u002F\u002F You can override the new locale by setting it to a different value\n",[299,609,611,614,616,618,620,622,625,628,631,633,636],{"class":475,"line":610},7,[299,612,613],{"class":479},"    if",[299,615,491],{"class":524},[299,617,539],{"class":490},[299,619,518],{"class":301},[299,621,314],{"class":490},[299,623,624],{"class":301}," ===",[299,626,627],{"class":301}," '",[299,629,630],{"class":305},"fr",[299,632,302],{"class":301},[299,634,635],{"class":524},") ",[299,637,638],{"class":301},"{\n",[299,640,642,645,647,649,652,654,657],{"class":475,"line":641},8,[299,643,644],{"class":490},"      options",[299,646,518],{"class":301},[299,648,314],{"class":490},[299,650,651],{"class":301}," =",[299,653,627],{"class":301},[299,655,656],{"class":305},"en",[299,658,659],{"class":301},"'\n",[299,661,663],{"class":475,"line":662},9,[299,664,665],{"class":301},"    }\n",[299,667,669,672],{"class":475,"line":668},10,[299,670,671],{"class":301},"  }",[299,673,594],{"class":524},[299,675,677],{"class":475,"line":676},11,[299,678,601],{"emptyLinePlaceholder":600},[299,680,682],{"class":475,"line":681},12,[299,683,684],{"class":508},"  \u002F\u002F called right after a new locale has been set\n",[299,686,688,690,692,694,696,698,700,702,704,706,708,710,712],{"class":475,"line":687},13,[299,689,515],{"class":490},[299,691,518],{"class":301},[299,693,521],{"class":486},[299,695,491],{"class":524},[299,697,302],{"class":301},[299,699,420],{"class":305},[299,701,302],{"class":301},[299,703,533],{"class":301},[299,705,536],{"class":301},[299,707,539],{"class":494},[299,709,542],{"class":301},[299,711,499],{"class":498},[299,713,502],{"class":301},[299,715,717,719,721,723,725,727,730,732,734,736,738,740,742,744,746,748],{"class":475,"line":716},14,[299,718,552],{"class":490},[299,720,518],{"class":301},[299,722,557],{"class":486},[299,724,491],{"class":524},[299,726,302],{"class":301},[299,728,729],{"class":305},"onLanguageSwitched",[299,731,302],{"class":301},[299,733,533],{"class":301},[299,735,571],{"class":490},[299,737,518],{"class":301},[299,739,327],{"class":490},[299,741,533],{"class":301},[299,743,571],{"class":490},[299,745,518],{"class":301},[299,747,314],{"class":490},[299,749,594],{"class":524},[299,751,753,755],{"class":475,"line":752},15,[299,754,671],{"class":301},[299,756,594],{"class":524},[299,758,760,763],{"class":475,"line":759},16,[299,761,762],{"class":301},"}",[299,764,594],{"class":490},[766,767,768],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":297,"searchDepth":505,"depth":505,"links":770},[771,777],{"id":286,"depth":505,"text":287,"children":772},[773,775],{"id":291,"depth":512,"text":774},"'i18n:beforeLocaleSwitch'",{"id":413,"depth":512,"text":776},"'i18n:localeSwitched'",{"id":460,"depth":505,"text":17},"Nuxt i18n module provides runtime hooks that you can use to perform specific tasks based on your app's language.","md",null,{},{"title":33,"description":778},"0JQGQ7BuVKERnyQ6wmb9YJgEHtGpC-PfVv_dndY4woI",[785,787],{"title":31,"path":27,"stem":28,"description":786,"children":-1},"Nuxt i18n module overrides Nuxt default routes to add locale prefixes to every URL with routing strategies.",{"title":37,"path":38,"stem":39,"description":788,"children":-1},"Customize the names of the paths for specific locale.",{"id":271,"title":33,"body":790,"description":778,"extension":779,"links":780,"meta":1177,"navigation":600,"path":34,"seo":1178,"stem":35,"__hash__":783},{"type":273,"value":791,"toc":1170},[792,796,798,808,812,814,876,886,896,898,900,930,932,934,1168],[276,793,794,282],{},[279,795,281],{},[284,797,287],{"id":286},[289,799,800],{"id":291},[293,801,802,804,806],{"className":295,"language":296,"style":297},[299,803,302],{"class":301},[299,805,306],{"class":305},[299,807,302],{"class":301},[276,809,311,810,315],{},[293,811,314],{},[276,813,318],{},[320,815,816,830,844,860],{},[323,817,818,820],{},[293,819,327],{},[320,821,822,828],{},[323,823,332,824],{},[293,825,826],{"className":295,"language":296,"style":297},[299,827,338],{"class":337},[323,829,341],{},[323,831,832,834],{},[293,833,314],{},[320,835,836,842],{},[323,837,332,838],{},[293,839,840],{"className":295,"language":296,"style":297},[299,841,338],{"class":337},[323,843,356],{},[323,845,846,848],{},[293,847,361],{},[320,849,850,856],{},[323,851,332,852],{},[293,853,854],{"className":295,"language":296,"style":297},[299,855,338],{"class":337},[323,857,372,858,376],{},[293,859,375],{},[323,861,862,864],{},[293,863,381],{},[320,865,866,872],{},[323,867,332,868],{},[293,869,870],{"className":295,"language":296,"style":297},[299,871,390],{"class":337},[323,873,393,874,397],{},[293,875,396],{},[276,877,400,878],{},[293,879,880,882,884],{"className":295,"language":296,"style":297},[299,881,338],{"class":337},[299,883,407],{"class":301},[299,885,410],{"class":337},[289,887,888],{"id":413},[293,889,890,892,894],{"className":295,"language":296,"style":297},[299,891,302],{"class":301},[299,893,420],{"class":305},[299,895,302],{"class":301},[276,897,425],{},[276,899,318],{},[320,901,902,916],{},[323,903,904,906],{},[293,905,327],{},[320,907,908,914],{},[323,909,332,910],{},[293,911,912],{"className":295,"language":296,"style":297},[299,913,338],{"class":337},[323,915,341],{},[323,917,918,920],{},[293,919,314],{},[320,921,922,928],{},[323,923,332,924],{},[293,925,926],{"className":295,"language":296,"style":297},[299,927,338],{"class":337},[323,929,356],{},[284,931,17],{"id":460},[276,933,463],{},[465,935,936],{"className":467,"code":468,"filename":469,"language":470,"meta":297,"style":297},[293,937,938,954,958,986,1028,1032,1036,1060,1076,1080,1086,1090,1094,1122,1156,1162],{"__ignoreMap":297},[299,939,940,942,944,946,948,950,952],{"class":475,"line":476},[299,941,480],{"class":479},[299,943,483],{"class":479},[299,945,487],{"class":486},[299,947,491],{"class":490},[299,949,495],{"class":494},[299,951,499],{"class":498},[299,953,502],{"class":301},[299,955,956],{"class":475,"line":505},[299,957,509],{"class":508},[299,959,960,962,964,966,968,970,972,974,976,978,980,982,984],{"class":475,"line":512},[299,961,515],{"class":490},[299,963,518],{"class":301},[299,965,521],{"class":486},[299,967,491],{"class":524},[299,969,302],{"class":301},[299,971,306],{"class":305},[299,973,302],{"class":301},[299,975,533],{"class":301},[299,977,536],{"class":301},[299,979,539],{"class":494},[299,981,542],{"class":301},[299,983,499],{"class":498},[299,985,502],{"class":301},[299,987,988,990,992,994,996,998,1000,1002,1004,1006,1008,1010,1012,1014,1016,1018,1020,1022,1024,1026],{"class":475,"line":549},[299,989,552],{"class":490},[299,991,518],{"class":301},[299,993,557],{"class":486},[299,995,491],{"class":524},[299,997,302],{"class":301},[299,999,564],{"class":305},[299,1001,302],{"class":301},[299,1003,533],{"class":301},[299,1005,571],{"class":490},[299,1007,518],{"class":301},[299,1009,327],{"class":490},[299,1011,533],{"class":301},[299,1013,571],{"class":490},[299,1015,518],{"class":301},[299,1017,314],{"class":490},[299,1019,533],{"class":301},[299,1021,571],{"class":490},[299,1023,518],{"class":301},[299,1025,361],{"class":490},[299,1027,594],{"class":524},[299,1029,1030],{"class":475,"line":597},[299,1031,601],{"emptyLinePlaceholder":600},[299,1033,1034],{"class":475,"line":604},[299,1035,607],{"class":508},[299,1037,1038,1040,1042,1044,1046,1048,1050,1052,1054,1056,1058],{"class":475,"line":610},[299,1039,613],{"class":479},[299,1041,491],{"class":524},[299,1043,539],{"class":490},[299,1045,518],{"class":301},[299,1047,314],{"class":490},[299,1049,624],{"class":301},[299,1051,627],{"class":301},[299,1053,630],{"class":305},[299,1055,302],{"class":301},[299,1057,635],{"class":524},[299,1059,638],{"class":301},[299,1061,1062,1064,1066,1068,1070,1072,1074],{"class":475,"line":641},[299,1063,644],{"class":490},[299,1065,518],{"class":301},[299,1067,314],{"class":490},[299,1069,651],{"class":301},[299,1071,627],{"class":301},[299,1073,656],{"class":305},[299,1075,659],{"class":301},[299,1077,1078],{"class":475,"line":662},[299,1079,665],{"class":301},[299,1081,1082,1084],{"class":475,"line":668},[299,1083,671],{"class":301},[299,1085,594],{"class":524},[299,1087,1088],{"class":475,"line":676},[299,1089,601],{"emptyLinePlaceholder":600},[299,1091,1092],{"class":475,"line":681},[299,1093,684],{"class":508},[299,1095,1096,1098,1100,1102,1104,1106,1108,1110,1112,1114,1116,1118,1120],{"class":475,"line":687},[299,1097,515],{"class":490},[299,1099,518],{"class":301},[299,1101,521],{"class":486},[299,1103,491],{"class":524},[299,1105,302],{"class":301},[299,1107,420],{"class":305},[299,1109,302],{"class":301},[299,1111,533],{"class":301},[299,1113,536],{"class":301},[299,1115,539],{"class":494},[299,1117,542],{"class":301},[299,1119,499],{"class":498},[299,1121,502],{"class":301},[299,1123,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1154],{"class":475,"line":716},[299,1125,552],{"class":490},[299,1127,518],{"class":301},[299,1129,557],{"class":486},[299,1131,491],{"class":524},[299,1133,302],{"class":301},[299,1135,729],{"class":305},[299,1137,302],{"class":301},[299,1139,533],{"class":301},[299,1141,571],{"class":490},[299,1143,518],{"class":301},[299,1145,327],{"class":490},[299,1147,533],{"class":301},[299,1149,571],{"class":490},[299,1151,518],{"class":301},[299,1153,314],{"class":490},[299,1155,594],{"class":524},[299,1157,1158,1160],{"class":475,"line":752},[299,1159,671],{"class":301},[299,1161,594],{"class":524},[299,1163,1164,1166],{"class":475,"line":759},[299,1165,762],{"class":301},[299,1167,594],{"class":490},[766,1169,768],{},{"title":297,"searchDepth":505,"depth":505,"links":1171},[1172,1176],{"id":286,"depth":505,"text":287,"children":1173},[1174,1175],{"id":291,"depth":512,"text":774},{"id":413,"depth":512,"text":776},{"id":460,"depth":505,"text":17},{},{"title":33,"description":778},1793224021862]