[{"data":1,"prerenderedAt":1361},["ShallowReactive",2],{"navigation_docs":3,"-guide-content-languages":613,"-guide-content-languages-surround":1358},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":128,"body":615,"description":1341,"extension":1352,"links":1353,"meta":1354,"navigation":1355,"path":129,"seo":1356,"stem":130,"__hash__":1357},"docs\u002F3.guide\u002F1.content\u002F4.languages.md",{"type":616,"value":617,"toc":1340},"minimark",[618,631,634,639,642,701,704,736,739,754,758,905,908,912,922,963,976,994,1018,1024,1028,1144,1148,1151,1155,1253,1257,1268,1290,1294,1297],[619,620,621,622,626,627,630],"p",{},"SHADE has two separate kinds of language. ",[623,624,625],"strong",{},"Content languages"," are the languages of the client's website: a site\nhas one default language and any number of other languages, every page exists in all of them, and the team\ntranslates the text while the layout stays the same. ",[623,628,629],{},"Admin languages"," are the languages of the admin screens\nthemselves: Dutch and English, chosen by each editor. The two are independent: a Dutch-speaking editor can work in a\nDutch admin on a site whose content is in Dutch, English and German.",[619,632,633],{},"Most of this page is about content languages. The admin languages are covered in their own section at the end.",[635,636,638],"h2",{"id":637},"what-users-can-do","What users can do",[619,640,641],{},"Admins (site settings):",[643,644,645,658,680,691,694],"ul",{},[646,647,648,649,652,653,657],"li",{},"Choose the site's ",[623,650,651],{},"default language"," when the site is set up. It is the language of the addresses without a\nprefix (",[654,655,656],"code",{},"\u002Fabout","). It is fixed once there is content, also when the first entry is being saved at the moment the\ndefault language is changed: the change waits for it and is then refused.",[646,659,660,661,664,665,668,669,668,672,675,676,679],{},"Add ",[623,662,663],{},"other languages"," (up to 20), each by code: ",[654,666,667],{},"nl",", ",[654,670,671],{},"en",[654,673,674],{},"de",", or with a region, ",[654,677,678],{},"nl-BE",".",[646,681,682,683,686,687,690],{},"Keep a new language ",[623,684,685],{},"Being prepared"," (hidden): the team can translate, visitors do not see it. Switch it to\n",[623,688,689],{},"Visible"," to put it on the website.",[646,692,693],{},"Remove a language.",[646,695,696,697,700],{},"The languages, and each language's own site name and SEO defaults, are saved whole. When another admin saved them\nafter your Settings screen was loaded, the save is refused and nothing is lost: the form shows \"Someone else changed this meanwhile\" with ",[623,698,699],{},"Reload",", which loads it as it is now (what was changed in the form goes). So a language added meanwhile is never dropped.",[619,702,703],{},"Editors:",[643,705,706,709,712,724,727,730,733],{},[646,707,708],{},"Switch the page editor or the entry editor to another language and write the text in that language.",[646,710,711],{},"See which text is not translated yet: a warning with the count, and a \"Not translated yet\" hint per field.",[646,713,714,715,719,720,723],{},"With the ",[716,717,718],"a",{"href":326},"editorial module",": see which translated text is ",[623,721,722],{},"out of date",", because its\ndefault-language text changed after the translation was saved. Update the translation, or mark it as done when it\nstill fits.",[646,725,726],{},"Translate a page's texts, title, slug, SEO title and meta description, and the translatable fields of any\ncollection entry (posts, navigation, footer, forms, module collections).",[646,728,729],{},"Write image alt text per language in the media library.",[646,731,732],{},"Preview a draft in any language, including one that is being prepared.",[646,734,735],{},"Open the version history in the language being edited; restoring a version restores every language.",[619,737,738],{},"Visitors:",[643,740,741,748,751],{},[646,742,743,744,747],{},"Read every page in each visible language at its own address (",[654,745,746],{},"\u002Fen\u002Fabout-us",").",[646,749,750],{},"Switch language in the site header, landing on the same page in the other language.",[646,752,753],{},"See the default language's text wherever a text is not translated yet.",[635,755,757],{"id":756},"who-may-do-it","Who may do it",[759,760,761,777],"table",{},[762,763,764],"thead",{},[765,766,767,771,774],"tr",{},[768,769,770],"th",{},"Action",[768,772,773],{},"Permission",[768,775,776],{},"Roles",[778,779,780,794,807,820,838,849,866,879,894],"tbody",{},[765,781,782,786,791],{},[783,784,785],"td",{},"Change the site's languages (Settings)",[783,787,788],{},[654,789,790],{},"settings.update",[783,792,793],{},"admin",[765,795,796,799,804],{},[783,797,798],{},"Read the site's languages (language switches)",[783,800,801],{},[654,802,803],{},"content.read",[783,805,806],{},"admin, editor, ai",[765,808,809,812,817],{},[783,810,811],{},"Read an entry or page in another language",[783,813,814],{},[654,815,816],{},"collections.\u003Cslug>.read",[783,818,819],{},"admin; editor unless the collection limits it",[765,821,822,825,835],{},[783,823,824],{},"Save the text of another language",[783,826,827,830,831,834],{},[654,828,829],{},"collections.\u003Cslug>.update"," (pages: ",[654,832,833],{},"collections.website-pages.update",")",[783,836,837],{},"admin; editor unless the collection limits it (pages: also ai)",[765,839,840,843,847],{},[783,841,842],{},"Mark an out-of-date translation as done (editorial module)",[783,844,845],{},[654,846,829],{},[783,848,819],{},[765,850,851,854,863],{},[783,852,853],{},"Publish (all languages together)",[783,855,856,859,860],{},[654,857,858],{},"collections.website-pages.publish"," \u002F ",[654,861,862],{},"collections.\u003Cslug>.publish",[783,864,865],{},"admin, editor",[765,867,868,871,876],{},[783,869,870],{},"Alt text per language",[783,872,873],{},[654,874,875],{},"media.update",[783,877,878],{},"admin, editor, ai (ai: alt text only)",[765,880,881,884,892],{},[783,882,883],{},"Preview link in a language",[783,885,886,888,889],{},[654,887,803],{}," + ",[654,890,891],{},"collections.website-pages.read",[783,893,806],{},[765,895,896,899,902],{},[783,897,898],{},"Admin language (user menu)",[783,900,901],{},"none (personal, kept in the browser)",[783,903,904],{},"everyone signed in",[619,906,907],{},"AI assistants read and translate a page's texts in another language and set an image's alt text in one; their\ntools for other collections work in the default language.",[635,909,911],{"id":910},"in-the-admin","In the admin",[619,913,914,917,918,921],{},[623,915,916],{},"Settings → Languages"," (sidebar ",[623,919,920],{},"Settings",", admin only). The card explains: \"Every page exists in every\nlanguage. Text that is not translated yet shows in the default language.\"",[643,923,924,930,954,957,960],{},[646,925,926,929],{},[623,927,928],{},"Default language",": a code field with the language's name next to it. Help text: \"The language of the website\nwithout a prefix (\u002Fabout). Fixed once there is content.\"",[646,931,932,935,936,939,940,942,943,945,946,949,950,953],{},[623,933,934],{},"Other languages",": one row per language with a ",[623,937,938],{},"Language code"," field, a switch labelled ",[623,941,689],{}," or\n",[623,944,685],{},", and a ",[623,947,948],{},"Remove language"," button. ",[623,951,952],{},"Add language"," adds a row that starts hidden. With no\nother languages the card says \"Only the default language.\"",[646,955,956],{},"Language names (\"Nederlands\", \"English (United Kingdom)\") come from the browser, in the admin's own language.",[646,958,959],{},"After saving, every language switch in the admin shows the new list.",[646,961,962],{},"Each other language also has a card for its site name, SEO title template and default description; empty fields\nuse the default language's. The default social image is the same in every language.",[619,964,965,968,969,971,972,975],{},[623,966,967],{},"Website editor"," (pages). The structure of a page is the same in every language; each text holds its words per\nlanguage, written in the editor in the language chosen, and a text without words in a language shows the default\nlanguage's there (see ",[716,970,161],{"href":162},"). Page settings give the title, slug, item address\n(for an item template), SEO title and meta description per language, each marked \"not translated\" while it still\nshows the default text. The live preview and the ",[623,973,974],{},"Preview"," link show the draft in that language, and the version\nhistory loads versions in it.",[619,977,978,981,982,985,986,989,990,993],{},[623,979,980],{},"Entry editor",". For saved entries of collections with translatable fields, on a site with other languages, a\n",[623,983,984],{},"Language"," select appears in the header. The chosen language is in the address bar (",[654,987,988],{},"?language=en","); switching\nwith unsaved changes asks for confirmation first. The same warnings and locks apply: repeater items can't be added,\nmoved or removed, and non-text fields are locked. ",[623,991,992],{},"Save draft"," saves only that language's text. Rich text is\ntranslated in its own field. The list screens always show the default language.",[619,995,996,999,1000,1002,1003,1005,1006,1009,1010,1013,1014,1017],{},[623,997,998],{},"Out-of-date translations"," are the ",[716,1001,718],{"href":326},"'s. When the default language's\ntext of a translated field changes, that field's translation is out of date in every language that has one. The\neditor's sidebar panel ",[623,1004,998],{}," lists the fields out of date per language, each with ",[623,1007,1008],{},"Mark as\ndone",", which keeps the translation as it is. Changing the translation and saving clears the field too. A chip in the\neditor's status row counts the languages out of date, and the collection's list has a ",[623,1011,1012],{},"Translations"," column with a\nfilter ",[623,1015,1016],{},"Out of date",". There is no hint on the field itself. Fields the role may not see are left out, and a field it\nmay only read can't be marked as done.",[619,1019,1020,1023],{},[623,1021,1022],{},"Media detail"," (media library). For images, one extra field per other language (hidden ones too): \"Alt text\n(English)\", with the help \"Empty: the Dutch alt text is used.\" Documents (PDFs) have no alt text.",[635,1025,1027],{"id":1026},"on-the-website","On the website",[643,1029,1030,1054,1060,1066,1072,1078,1089,1095,1104,1110,1123,1129],{},[646,1031,1032,1035,1036,1039,1040,1043,1044,1039,1047,1050,1051,679],{},[623,1033,1034],{},"Addresses."," The default language lives at ",[654,1037,1038],{},"\u002F\u003Cslug>"," (home page ",[654,1041,1042],{},"\u002F","), each visible other language at\n",[654,1045,1046],{},"\u002F\u003Ccode>\u002F\u003Cslug>",[654,1048,1049],{},"\u002F\u003Ccode>","). Item pages (posts) follow the same rule: ",[654,1052,1053],{},"\u002Fen\u002F\u003Citem address>\u002F\u003Cslug>",[646,1055,1056,1059],{},[623,1057,1058],{},"Slugs."," A page's slug in a language is its translated slug, or the default slug when there is none. If a\nfallback slug collides with another page's translated slug in that language, the translated one wins and the\nother page is left out of that language. Publishing refuses a translated slug that another published page already\nhas in that language.",[646,1061,1062,1065],{},[623,1063,1064],{},"Text."," Untranslated text and alt text show the default language.",[646,1067,1068,1071],{},[623,1069,1070],{},"Links."," Links to pages and item pages in content, navigation and footer point to their address in the current\nlanguage. A link to a page that is not public in that language is left out, and the site hides it.",[646,1073,1074,1077],{},[623,1075,1076],{},"Header."," When the site has more than one visible language, the header shows a language switch with each\nlanguage's own name (\"English\", \"Deutsch\"). Each item links to the current page in that language, or to that\nlanguage's home page if the page is not public there.",[646,1079,1080,1083,1084,1088],{},[623,1081,1082],{},"Language switcher."," The ",[1085,1086,1087],"em",{},"Language switcher"," starter component puts one anywhere on a page (the page's other\nlanguages by their code in capitals, NL, EN, each with its name in its own language on hover and for screen readers).",[646,1090,1091,1094],{},[623,1092,1093],{},"Search engines."," Each page tells search engines its language and links to its versions in every visible\nlanguage, with the default language's as the fallback. The sitemap has one part per visible language, each listing\nthat language's indexable pages with links to their translations.",[646,1096,1097,1100,1101,679],{},[623,1098,1099],{},"Site search"," only searches the visitor's language, both a static site's own search and the API's ",[716,1102,1103],{"href":141},"search",[646,1105,1106,1109],{},[623,1107,1108],{},"Data sources and forms"," are read in the page's language: item text, item addresses and form labels.",[646,1111,1112,1115,1116,668,1119,1122],{},[623,1113,1114],{},"The 404 and account pages"," exist per visible language (",[654,1117,1118],{},"\u002Fen\u002F404\u002F",[654,1120,1121],{},"\u002Fen\u002Faccount","), and user account emails\nfollow the language of the page the user came from.",[646,1124,1125,1128],{},[623,1126,1127],{},"Hidden languages"," are not on the site. Preview links can still show them, kept out of search engines.",[646,1130,1131,1134,1135,1137,1138,1141,1142,679],{},[623,1132,1133],{},"Renamed translated slugs"," get automatic redirects in their language (",[654,1136,746],{}," → ",[654,1139,1140],{},"\u002Fen\u002Fabout","), see\n",[716,1143,181],{"href":182},[635,1145,1147],{"id":1146},"texts-shade-writes-for-visitors","Texts SHADE writes for visitors",[619,1149,1150],{},"Most of what visitors read is your content. A few texts are SHADE's own: the messages around a form, a booking, the shop and the account pages, the line under a mailing list's email, and the page a link that no longer works opens. SHADE and its modules ship these in English and Dutch. On a site in another language, say German, we show them in the site's default language when it is one of those two, and in English when it is not, until someone adds a German translation. Nothing breaks and nothing shows a missing key, but a German visitor will read English in these places, so it is worth adding the translation before you rely on them.",[635,1152,1154],{"id":1153},"rules-and-limits","Rules and limits",[643,1156,1157,1166,1171,1177,1183,1189,1195,1201,1207,1213,1219,1225,1231,1237,1247],{},[646,1158,1159,1162,1163,1165],{},[623,1160,1161],{},"Codes",": two or three lowercase letters, optionally a dash and two capital letters for the region (",[654,1164,678],{},").\nEach language at most once, including the default. At most 20 other languages. The code is also the address\nprefix.",[646,1167,1168,1170],{},[623,1169,928],{},": it cannot be changed once any collection has an entry, because every stored text is in it.\nAdding, hiding and removing other languages is always allowed.",[646,1172,1173,1176],{},[623,1174,1175],{},"Which fields are translatable."," Each field type has a default: text, textarea, rich text and slug are\ntranslatable; a tree keeps every language in its texts. Number, date, toggle, select, relation, image, file, link,\nurl and email are not. A developer can change this per field. Groups and repeaters are structure: their members\ndecide. A page's item template choice is not translatable. Buttons keep their label in a text field (translatable)\nand their target in a link field (shared).",[646,1178,1179,1182],{},[623,1180,1181],{},"Structure is the default language's."," Saving another language changes only translatable text. Reordering\nrepeater items in the default language keeps their translations; removing an item removes them.",[646,1184,1185,1188],{},[623,1186,1187],{},"Untouched fallbacks are not copied."," Text that shows the default language keeps falling back instead of being\nsaved as a copy. An empty value means \"fall back\".",[646,1190,1191,1194],{},[623,1192,1193],{},"Required fields"," apply to the default language only. Field rules (max length, slug format) apply to every\nlanguage.",[646,1196,1197,1200],{},[623,1198,1199],{},"Unique fields",": a translated slug is unique per language. A clash gives \"Another page already uses this slug\".",[646,1202,1203,1206],{},[623,1204,1205],{},"\"Missing\""," means a translatable text that has a value in the default language but none in this one. Empty\ndefault text is not missing.",[646,1208,1209,1212],{},[623,1210,1211],{},"\"Out of date\""," (editorial module) means a translated text whose default-language text changed after the translation was last saved\nor marked as done. Text that isn't translated is missing, never out of date. It is per field and per language; a\nrepeater item's text keeps its state when the items are reordered, and loses it with the item. Restoring a version\ncounts as a save: a default-language text that changes with it leaves its translation out of date, unless the\ntranslation changed too. Marking as done is audited as \"Marked the en text of … as done\". The state is kept while\nan entry is in the trash and goes when it is deleted forever. Only saves through SHADE count: a module that writes\nits collection's tables itself doesn't change it.",[646,1214,1215,1218],{},[623,1216,1217],{},"Versions."," Every save, in any language, makes a version holding every language's text. Saving another\nlanguage is noted \"Translated (en)\" and audited as \"Saved the en text of …\". Publishing publishes all languages\ntogether, and a restore brings back every language of that version.",[646,1220,1221,1224],{},[623,1222,1223],{},"Unknown or hidden codes."," A code that is not one of the site's languages is refused; the site never shows\nhidden or unknown languages.",[646,1226,1227,1230],{},[623,1228,1229],{},"Alt text",": max 300 characters per language. An empty value removes that language's alt text. Unknown codes\nare refused. Changing alt text in any language rebuilds the site when the image is used by published content.",[646,1232,1233,1236],{},[623,1234,1235],{},"Settings changes"," to languages rebuild the site, like other settings changes.",[646,1238,1239,1242,1243,1246],{},[623,1240,1241],{},"Lists use the default language."," Filtering and sorting in the admin lists and on the site use the\ndefault language's text; search looks in the language asked for, the default one in the admin's lists. ",[1085,1244,1245],{},"Missing alt text"," in the media library counts every language.",[646,1248,1249,1252],{},[623,1250,1251],{},"Removing a language keeps its text."," Re-adding the language brings it back, also after the page was edited in\nthe default language meanwhile.",[635,1254,1256],{"id":1255},"for-developers","For developers",[619,1258,1259,1260,1263,1264,1267],{},"The code and its tests: ",[654,1261,1262],{},"shade\u002Ffeatures\u002Fentries\u002FREADME.md"," in the ",[654,1265,1266],{},"shade"," repository.",[619,1269,1270,1271,1274,1275,1278,1279,1282,1283,668,1286,1289],{},"Visitor texts are one ",[654,1272,1273],{},"\u003Clanguage>.json"," file per language: SHADE's in ",[654,1276,1277],{},"shade\u002Flocales"," and each module's in the ",[654,1280,1281],{},"locales"," folder of the module. A new language is one more file with the same keys, named by its code (",[654,1284,1285],{},"de.json",[654,1287,1288],{},"nl-BE.json","); no code names a language. A key missing from a file falls back to the site's default language, then to English.",[635,1291,1293],{"id":1292},"admin-languages-dutch-and-english","Admin languages (Dutch and English)",[619,1295,1296],{},"The admin interface is available in English and Dutch. This is unrelated to the site's content\nlanguages.",[643,1298,1299,1305,1322,1337],{},[646,1300,1301,1304],{},[623,1302,1303],{},"Choosing",": the admin uses the editor's saved choice (kept for a year), else the first browser language the\nadmin has, else English.",[646,1306,1307,1310,1311,1313,1314,1317,1318,1321],{},[623,1308,1309],{},"Switching",": the user menu has ",[623,1312,984],{}," with ",[623,1315,1316],{},"English"," and ",[623,1319,1320],{},"Nederlands",". The choice is per browser, not\nstored on the user account.",[646,1323,1324,1325,1328,1329,1332,1333,1336],{},"The admin's own texts, dates, language names and form messages follow the admin language. A field left empty says\n",[623,1326,1327],{},"Required"," (",[1085,1330,1331],{},"Verplicht",") and a value of the wrong kind ",[623,1334,1335],{},"Not a valid value",". Forms check a field once it\nchanges (and while typing after that) and on submit, never for only focusing and leaving it.",[646,1338,1339],{},"Messages that come from the server (validation and conflict errors) are shown in the admin's language too.",{"title":1341,"searchDepth":1342,"depth":1342,"links":1343},"",2,[1344,1345,1346,1347,1348,1349,1350,1351],{"id":637,"depth":1342,"text":638},{"id":756,"depth":1342,"text":757},{"id":910,"depth":1342,"text":911},{"id":1026,"depth":1342,"text":1027},{"id":1146,"depth":1342,"text":1147},{"id":1153,"depth":1342,"text":1154},{"id":1255,"depth":1342,"text":1256},{"id":1292,"depth":1342,"text":1293},"md",null,{},true,{"title":128,"description":1341},"jfkHm-ggYMhfDdQKBhV1qUmhmuJwpIkNEtOjQ3h7nPg",[1359,1360],{"title":124,"path":125,"stem":126,"description":1341,"children":-1},{"title":132,"path":133,"stem":134,"description":1341,"children":-1},1796500150683]