Join a document to the languages of another, or take it out of its own
tongue_docJoins a document to another document’s language group or removes it, keeping multilingual versions together under one folder; set the document’s language tag when needed.
Instructions
A document told in several languages is several documents, one per language, that the person sees as one with a switch between them; read_doc, outline_doc, docs and find name them under languages. With of, this joins doc to the languages of that document, moving it into the same folder; both have to say their language, in a lang: line of their properties or, for doc, in lang, which is written there. Without of, it takes doc out of its languages and the others stay together. To write a new translation, write_doc with translation_of does it in one call. A page is in the language of its document and joins nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| of | No | The id of a document whose languages it joins. Left out, it is taken out of its own | |
| doc | Yes | The id of the document to join or take out — an opaque name like `q7ntmzbm-0001`, not its title | |
| lang | No | The language `doc` is in, as a tag like `es`, `en` or `pt-BR`, when its properties do not say it |