set_site_languages
Declares the languages a site serves. Typed inside bash, where help set_site_languages prints the same.
Usage: set_site_languages [options]
Declares the languages a site serves. This is the first call ofbuilding a multilingual site, and nothing about languages works untilit has been made: no path prefix, no switcher, no `lang` attribute,no hreflang, and no `locales/` catalog is read.
This takes effect at once: it is a site setting, not a draft, so theprefixed addresses go live whether or not the pages are translated.Send `locales: []` to go back to one language. Read`vzk/languages` first.
Options: --default TEXT The language served on the site's plain paths, as a tag like "en" or "pt-br". The one language with no prefix of its own. --locales TEXT ... (give the flag again for each) Every other language the site speaks, as tags: [ "uk", "ru" ]. This is the order a switcher offers them in, after the default. Listing the default here too is fine and means the same thing. An empty list un-declares every language. --json OBJECT Every argument at once, as one JSON object; --json - reads it from stdin.