[{"data":1,"prerenderedAt":1055},["ShallowReactive",2],{"navigation":3,"\u002Freference\u002Fcommands":100,"\u002Freference\u002Fcommands-surround":1050},[4,19,57,91,96],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":18},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,14],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction",{"title":15,"path":16,"stem":17},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F2.quick-start",false,{"title":20,"icon":21,"path":22,"stem":23,"children":24,"page":18},"Guides","i-lucide-book-open","\u002Fguides","2.guides",[25,29,33,37,41,45,49,53],{"title":26,"path":27,"stem":28},"Locale files","\u002Fguides\u002Flocale-files","2.guides\u002F1.locale-files",{"title":30,"path":31,"stem":32},"Translating","\u002Fguides\u002Ftranslating","2.guides\u002F2.translating",{"title":34,"path":35,"stem":36},"Linked messages","\u002Fguides\u002Flinked-messages","2.guides\u002F3.linked-messages",{"title":38,"path":39,"stem":40},"Formats","\u002Fguides\u002Fformats","2.guides\u002F4.formats",{"title":42,"path":43,"stem":44},"Loading","\u002Fguides\u002Floading","2.guides\u002F5.loading",{"title":46,"path":47,"stem":48},"Global access and scope","\u002Fguides\u002Fglobal-and-scope","2.guides\u002F6.global-and-scope",{"title":50,"path":51,"stem":52},"Tauri","\u002Fguides\u002Ftauri","2.guides\u002F7.tauri",{"title":54,"path":55,"stem":56},"Checks and tracing","\u002Fguides\u002Fchecks-and-tracing","2.guides\u002F8.checks-and-tracing",{"title":58,"icon":59,"path":60,"stem":61,"children":62,"page":18},"API reference","i-lucide-file-code","\u002Freference","3.reference",[63,67,71,75,79,83,87],{"title":64,"path":65,"stem":66},"JavaScript API","\u002Freference\u002Fjavascript-api","3.reference\u002F1.javascript-api",{"title":68,"path":69,"stem":70},"Types","\u002Freference\u002Ftypes","3.reference\u002F2.types",{"title":72,"path":73,"stem":74},"Tauri commands","\u002Freference\u002Fcommands","3.reference\u002F3.commands",{"title":76,"path":77,"stem":78},"Permissions","\u002Freference\u002Fpermissions","3.reference\u002F4.permissions",{"title":80,"path":81,"stem":82},"Rust API","\u002Freference\u002Frust-api","3.reference\u002F5.rust-api",{"title":84,"path":85,"stem":86},"Features","\u002Freference\u002Ffeatures","3.reference\u002F6.features",{"title":88,"path":89,"stem":90},"i18n.json","\u002Freference\u002Fi18n-json","3.reference\u002F7.i18n-json",{"title":92,"path":93,"stem":94,"icon":95},"Platforms","\u002Fplatforms","4.platforms","i-lucide-monitor-smartphone",{"title":97,"path":98,"stem":99},"Changelog","\u002Fchangelog","9.changelog",{"id":101,"title":72,"body":102,"description":1043,"extension":1044,"generated":1045,"links":1046,"meta":1047,"navigation":1045,"path":73,"seo":1048,"stem":74,"__hash__":1049},"docs\u002F3.reference\u002F3.commands.md",{"type":103,"value":104,"toc":1029},"minimark",[105,156,337,342,347,374,431,493,508,512,564,605,675,684,688,690,719,748,757,761,766,795,823,833,837,839,859,862,871,875,879,899,901,911,915,917,937,939,949,953,956,985,1015,1025],[106,107,108,109,113,114,123,124,127,128,130,131,134,135,138,139,142,143,138,146,138,149,138,152,155],"p",{},"The ",[110,111,112],"code",{},"#[tauri::command]"," functions in ",[115,116,120],"a",{"href":117,"rel":118},"https:\u002F\u002Fgithub.com\u002Fs00d\u002Fi18n-next-rs\u002Fblob\u002Fmain\u002Fcrates\u002Ftauri-plugin-i18n-next\u002Fsrc\u002Fcommands.rs",[119],"nofollow",[110,121,122],{},"crates\u002Ftauri-plugin-i18n-next\u002Fsrc\u002Fcommands.rs",", called with ",[110,125,126],{},"invoke('plugin:i18n-next|\u003Cname>', args)",".\nYou normally use the ",[115,129,64],{"href":65}," instead. Arguments are sent in camelCase\n(Rust names as is for ",[110,132,133],{},"rename_all = \"snake_case\"","); parameters injected by Tauri (",[110,136,137],{},"AppHandle",", ",[110,140,141],{},"State",",\n",[110,144,145],{},"Window",[110,147,148],{},"WebviewWindow",[110,150,151],{},"Webview",[110,153,154],{},"ipc::Request",") are not listed.",[157,158,159,172],"table",{},[160,161,162],"thead",{},[163,164,165,169],"tr",{},[166,167,168],"th",{},"Command",[166,170,171],{},"Description",[173,174,175,204,252,265,282,295,311,324],"tbody",{},[163,176,177,186],{},[178,179,180],"td",{},[115,181,183],{"href":182},"#load",[110,184,185],{},"load",[178,187,188,189,192,193,138,196,199,200,203],{},"Start: the active chain's roots and, with ",[110,190,191],{},"page",", its page chunks, plus ",[110,194,195],{},"locales",[110,197,198],{},"defaultLocale"," and the named formats (the payload of ",[110,201,202],{},"i18n_next::payload","), as raw bytes.",[163,205,206,214],{},[178,207,208],{},[115,209,211],{"href":210},"#meta",[110,212,213],{},"meta",[178,215,216,217,138,220,138,223,138,225,138,228,138,230,233,234,237,238,240,241,243,244,247,248,251],{},"What the front end needs to start and to build protocol URLs, without the chunks: ",[110,218,219],{},"version",[110,221,222],{},"locale",[110,224,198],{},[110,226,227],{},"fallbackLocale",[110,229,195],{},[110,231,232],{},"chains"," (the fallback chain of every locale, which the front end premerges in order), the named formats, ",[110,235,236],{},"tags"," (the content tag of each chunk of the chain of ",[110,239,222],{},", the active one when not given, roots and ",[110,242,191],{},", by ",[110,245,246],{},"\"\u003Clocale>\u002F\u003Cpage>\"",") and ",[110,249,250],{},"bundle"," (the tag of its protocol bundle).",[163,253,254,262],{},[178,255,256],{},[115,257,259],{"href":258},"#load_page",[110,260,261],{},"load_page",[178,263,264],{},"Navigation: the page chunks of the active chain, as raw bytes.",[163,266,267,275],{},[178,268,269],{},[115,270,272],{"href":271},"#set_locale",[110,273,274],{},"set_locale",[178,276,277,278,281],{},"Switches the locale for Rust, native labels and every window (they get ",[110,279,280],{},"crate::EVENT_CHANGED","); returns the new catalog version.",[163,283,284,292],{},[178,285,286],{},[115,287,289],{"href":288},"#get_locale",[110,290,291],{},"get_locale",[178,293,294],{},"The active locale.",[163,296,297,305],{},[178,298,299],{},[115,300,302],{"href":301},"#available_locales",[110,303,304],{},"available_locales",[178,306,307,308,310],{},"Locales that are not disabled: ",[110,309,88],{}," order first, then the rest by code.",[163,312,313,321],{},[178,314,315],{},[115,316,318],{"href":317},"#pages",[110,319,320],{},"pages",[178,322,323],{},"Known page names, sorted.",[163,325,326,334],{},[178,327,328],{},[115,329,331],{"href":330},"#report_missing",[110,332,333],{},"report_missing",[178,335,336],{},"Keys the front end missed (dev builds only: the plugin registers it in debug).",[338,339,341],"h2",{"id":340},"commands","Commands",[343,344,345],"h3",{"id":185},[110,346,185],{},[106,348,188,349,192,351,142,353,199,355,357,358,361,362,365,366,369,370,373],{},[110,350,191],{},[110,352,195],{},[110,354,198],{},[110,356,202],{},"), as raw\nbytes. ",[110,359,360],{},"languages"," (",[110,363,364],{},"navigator.languages",") picks the start locale on the first call\nwhen no saved one applies; ",[110,367,368],{},"timeZone"," (the WebView's zone) is the system zone\nof dates unless the catalog has one (",[110,371,372],{},"webview_zone","). The fallback path when the\nprotocol is unavailable.",[375,376,381],"pre",{"className":377,"code":378,"language":379,"meta":380,"style":380},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","invoke('plugin:i18n-next|load', { page, languages, timeZone })\n","ts","",[110,382,383],{"__ignoreMap":380},[384,385,388,392,396,400,404,406,409,412,415,417,420,422,425,428],"span",{"class":386,"line":387},"line",1,[384,389,391],{"class":390},"s2Zo4","invoke",[384,393,395],{"class":394},"sTEyZ","(",[384,397,399],{"class":398},"sMK4o","'",[384,401,403],{"class":402},"sfazB","plugin:i18n-next|load",[384,405,399],{"class":398},[384,407,408],{"class":398},",",[384,410,411],{"class":398}," {",[384,413,414],{"class":394}," page",[384,416,408],{"class":398},[384,418,419],{"class":394}," languages",[384,421,408],{"class":398},[384,423,424],{"class":394}," timeZone ",[384,426,427],{"class":398},"}",[384,429,430],{"class":394},")\n",[157,432,433,446],{},[160,434,435],{},[163,436,437,440,443],{},[166,438,439],{},"Argument (JS)",[166,441,442],{},"Rust parameter",[166,444,445],{},"Type",[173,447,448,463,478],{},[163,449,450,454,458],{},[178,451,452],{},[110,453,191],{},[178,455,456],{},[110,457,191],{},[178,459,460],{},[110,461,462],{},"Option\u003CString>",[163,464,465,469,473],{},[178,466,467],{},[110,468,360],{},[178,470,471],{},[110,472,360],{},[178,474,475],{},[110,476,477],{},"Option\u003CVec\u003CString>>",[163,479,480,484,489],{},[178,481,482],{},[110,483,368],{},[178,485,486],{},[110,487,488],{},"time_zone",[178,490,491],{},[110,492,462],{},[106,494,495,496,499,500,503,504,507],{},"Returns ",[110,497,498],{},"Response",". Rust: plain (sync) ",[110,501,502],{},"fn",". Permission: ",[110,505,506],{},"i18n-next:allow-load",".",[343,509,510],{"id":213},[110,511,213],{},[106,513,514,515,138,517,138,519,138,521,138,523,138,525,527,528,237,530,532,533,243,535,247,537,539,540,542,543,545,546,548,549,551,552,554,555,557,558,560,561,563],{},"What the front end needs to start and to build protocol URLs, without the chunks:\n",[110,516,219],{},[110,518,222],{},[110,520,198],{},[110,522,227],{},[110,524,195],{},[110,526,232],{}," (the\nfallback chain of every locale, which the front end premerges in order),\nthe named formats, ",[110,529,236],{},[110,531,222],{},", the\nactive one when not given, roots and ",[110,534,191],{},[110,536,246],{},[110,538,250],{}," (the\ntag of its protocol bundle). As raw bytes, like ",[110,541,185],{},". ",[110,544,360],{},"\n(",[110,547,364],{},") picks the start locale like the first ",[110,550,185],{}," does, so a\nfront end that reads data over the protocol never needs ",[110,553,185],{},"; ",[110,556,368],{}," likewise\ngives the WebView's zone (",[110,559,372],{},"), and the answer's ",[110,562,368],{}," is the zone\ndates show in when it is known by name.",[375,565,567],{"className":377,"code":566,"language":379,"meta":380,"style":380},"invoke('plugin:i18n-next|meta', { locale, page, languages, timeZone })\n",[110,568,569],{"__ignoreMap":380},[384,570,571,573,575,577,580,582,584,586,589,591,593,595,597,599,601,603],{"class":386,"line":387},[384,572,391],{"class":390},[384,574,395],{"class":394},[384,576,399],{"class":398},[384,578,579],{"class":402},"plugin:i18n-next|meta",[384,581,399],{"class":398},[384,583,408],{"class":398},[384,585,411],{"class":398},[384,587,588],{"class":394}," locale",[384,590,408],{"class":398},[384,592,414],{"class":394},[384,594,408],{"class":398},[384,596,419],{"class":394},[384,598,408],{"class":398},[384,600,424],{"class":394},[384,602,427],{"class":398},[384,604,430],{"class":394},[157,606,607,617],{},[160,608,609],{},[163,610,611,613,615],{},[166,612,439],{},[166,614,442],{},[166,616,445],{},[173,618,619,633,647,661],{},[163,620,621,625,629],{},[178,622,623],{},[110,624,222],{},[178,626,627],{},[110,628,222],{},[178,630,631],{},[110,632,462],{},[163,634,635,639,643],{},[178,636,637],{},[110,638,191],{},[178,640,641],{},[110,642,191],{},[178,644,645],{},[110,646,462],{},[163,648,649,653,657],{},[178,650,651],{},[110,652,360],{},[178,654,655],{},[110,656,360],{},[178,658,659],{},[110,660,477],{},[163,662,663,667,671],{},[178,664,665],{},[110,666,368],{},[178,668,669],{},[110,670,488],{},[178,672,673],{},[110,674,462],{},[106,676,495,677,499,679,503,681,507],{},[110,678,498],{},[110,680,502],{},[110,682,683],{},"i18n-next:allow-meta",[343,685,686],{"id":261},[110,687,261],{},[106,689,264],{},[375,691,693],{"className":377,"code":692,"language":379,"meta":380,"style":380},"invoke('plugin:i18n-next|load_page', { page })\n",[110,694,695],{"__ignoreMap":380},[384,696,697,699,701,703,706,708,710,712,715,717],{"class":386,"line":387},[384,698,391],{"class":390},[384,700,395],{"class":394},[384,702,399],{"class":398},[384,704,705],{"class":402},"plugin:i18n-next|load_page",[384,707,399],{"class":398},[384,709,408],{"class":398},[384,711,411],{"class":398},[384,713,714],{"class":394}," page ",[384,716,427],{"class":398},[384,718,430],{"class":394},[157,720,721,731],{},[160,722,723],{},[163,724,725,727,729],{},[166,726,439],{},[166,728,442],{},[166,730,445],{},[173,732,733],{},[163,734,735,739,743],{},[178,736,737],{},[110,738,191],{},[178,740,741],{},[110,742,191],{},[178,744,745],{},[110,746,747],{},"String",[106,749,495,750,499,752,503,754,507],{},[110,751,498],{},[110,753,502],{},[110,755,756],{},"i18n-next:allow-load-page",[343,758,759],{"id":274},[110,760,274],{},[106,762,763,764,281],{},"Switches the locale for Rust, native labels and every window (they get\n",[110,765,280],{},[375,767,769],{"className":377,"code":768,"language":379,"meta":380,"style":380},"invoke('plugin:i18n-next|set_locale', { locale })\n",[110,770,771],{"__ignoreMap":380},[384,772,773,775,777,779,782,784,786,788,791,793],{"class":386,"line":387},[384,774,391],{"class":390},[384,776,395],{"class":394},[384,778,399],{"class":398},[384,780,781],{"class":402},"plugin:i18n-next|set_locale",[384,783,399],{"class":398},[384,785,408],{"class":398},[384,787,411],{"class":398},[384,789,790],{"class":394}," locale ",[384,792,427],{"class":398},[384,794,430],{"class":394},[157,796,797,807],{},[160,798,799],{},[163,800,801,803,805],{},[166,802,439],{},[166,804,442],{},[166,806,445],{},[173,808,809],{},[163,810,811,815,819],{},[178,812,813],{},[110,814,222],{},[178,816,817],{},[110,818,222],{},[178,820,821],{},[110,822,747],{},[106,824,495,825,499,828,503,830,507],{},[110,826,827],{},"u64",[110,829,502],{},[110,831,832],{},"i18n-next:allow-set-locale",[343,834,835],{"id":291},[110,836,291],{},[106,838,294],{},[375,840,842],{"className":377,"code":841,"language":379,"meta":380,"style":380},"invoke('plugin:i18n-next|get_locale')\n",[110,843,844],{"__ignoreMap":380},[384,845,846,848,850,852,855,857],{"class":386,"line":387},[384,847,391],{"class":390},[384,849,395],{"class":394},[384,851,399],{"class":398},[384,853,854],{"class":402},"plugin:i18n-next|get_locale",[384,856,399],{"class":398},[384,858,430],{"class":394},[106,860,861],{},"No arguments.",[106,863,495,864,499,866,503,868,507],{},[110,865,747],{},[110,867,502],{},[110,869,870],{},"i18n-next:allow-get-locale",[343,872,873],{"id":304},[110,874,304],{},[106,876,307,877,310],{},[110,878,88],{},[375,880,882],{"className":377,"code":881,"language":379,"meta":380,"style":380},"invoke('plugin:i18n-next|available_locales')\n",[110,883,884],{"__ignoreMap":380},[384,885,886,888,890,892,895,897],{"class":386,"line":387},[384,887,391],{"class":390},[384,889,395],{"class":394},[384,891,399],{"class":398},[384,893,894],{"class":402},"plugin:i18n-next|available_locales",[384,896,399],{"class":398},[384,898,430],{"class":394},[106,900,861],{},[106,902,495,903,499,906,503,908,507],{},[110,904,905],{},"Vec\u003CLocale>",[110,907,502],{},[110,909,910],{},"i18n-next:allow-available-locales",[343,912,913],{"id":320},[110,914,320],{},[106,916,323],{},[375,918,920],{"className":377,"code":919,"language":379,"meta":380,"style":380},"invoke('plugin:i18n-next|pages')\n",[110,921,922],{"__ignoreMap":380},[384,923,924,926,928,930,933,935],{"class":386,"line":387},[384,925,391],{"class":390},[384,927,395],{"class":394},[384,929,399],{"class":398},[384,931,932],{"class":402},"plugin:i18n-next|pages",[384,934,399],{"class":398},[384,936,430],{"class":394},[106,938,861],{},[106,940,495,941,499,944,503,946,507],{},[110,942,943],{},"Vec\u003CString>",[110,945,502],{},[110,947,948],{},"i18n-next:allow-pages",[343,950,951],{"id":333},[110,952,333],{},[106,954,955],{},"Keys the front end missed (dev builds only: the plugin registers it in debug). They join the Rust misses in the report.",[375,957,959],{"className":377,"code":958,"language":379,"meta":380,"style":380},"invoke('plugin:i18n-next|report_missing', { keys })\n",[110,960,961],{"__ignoreMap":380},[384,962,963,965,967,969,972,974,976,978,981,983],{"class":386,"line":387},[384,964,391],{"class":390},[384,966,395],{"class":394},[384,968,399],{"class":398},[384,970,971],{"class":402},"plugin:i18n-next|report_missing",[384,973,399],{"class":398},[384,975,408],{"class":398},[384,977,411],{"class":398},[384,979,980],{"class":394}," keys ",[384,982,427],{"class":398},[384,984,430],{"class":394},[157,986,987,997],{},[160,988,989],{},[163,990,991,993,995],{},[166,992,439],{},[166,994,442],{},[166,996,445],{},[173,998,999],{},[163,1000,1001,1006,1010],{},[178,1002,1003],{},[110,1004,1005],{},"keys",[178,1007,1008],{},[110,1009,1005],{},[178,1011,1012],{},[110,1013,1014],{},"Vec\u003CMissingKey>",[106,1016,495,1017,499,1020,503,1022,507],{},[110,1018,1019],{},"()",[110,1021,502],{},[110,1023,1024],{},"i18n-next:allow-report-missing",[1026,1027,1028],"style",{},"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 .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);}",{"title":380,"searchDepth":1030,"depth":1031,"links":1032},2,3,[1033],{"id":340,"depth":1030,"text":341,"children":1034},[1035,1036,1037,1038,1039,1040,1041,1042],{"id":185,"depth":1031,"text":185},{"id":213,"depth":1031,"text":213},{"id":261,"depth":1031,"text":261},{"id":274,"depth":1031,"text":274},{"id":291,"depth":1031,"text":291},{"id":304,"depth":1031,"text":304},{"id":320,"depth":1031,"text":320},{"id":333,"depth":1031,"text":333},"Every Tauri command of the plugin with its arguments, generated from src\u002Fcommands.rs.","md",true,null,{},{"title":72,"description":1043},"xt-p7_SZJxT5Jw3voz2zf3keUgEXoQXajj07Sa7pEpo",[1051,1053],{"title":68,"path":69,"stem":70,"description":1052,"children":-1},"Types of tauri-plugin-i18n-next-api, generated from guest-js.",{"title":76,"path":77,"stem":78,"description":1054,"children":-1},"Every permission identifier of the plugin, generated from permissions\u002F.",1794917566664]