Multilingual Settings

Multilingual Settings (multilingual)

Platen and Hugo are designed to support multilingual sites out-of-the-box. These settings are combined with Hugo’s multilingual mode.

JSON Schema

Definition
{
  "$id": "https://platen.io/modules/platen/config/site/multilingual/schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Settings for multilingual sites\n\nhttps://platen.io/modules/platen/config/site/multilingual/",
  "properties": {
    "translated_only": {
      "default": false,
      "description": "Specifies whether the site is only a translation of another project or site.\n\nhttps://platen.io/modules/platen/config/site/multilingual/#translated_only",
      "title": "Translated Only",
      "type": "boolean"
    }
  },
  "title": "Multilingual Settings",
  "type": "object"
}

Translated Only (translated_only)

Specifies whether the site is only a translation of another project or site. When this value is set to true, the translations menu picker isn’t rendered.

This setting is intended for use with Hugo’s multilingual multihost configuration.

The default value is false.

Edit this page