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