Aller au contenu principal
Objet

ContentLocalization

Which language a record's text is served in, where it came from, and which other languages are available. Use it for language labels, hreflang links and language menus.

Champs

  • autoTranslateBoolean!

    Whether fields the author left empty in a language (every field, in a language they did not write) are filled in by machine translation.

  • availableLocales[String!]!

    Every language the text can be served in: the author's languages plus up-to-date machine translations.

  • contentLocaleString

    The author's main language, as a language code (de, fr, it or en). Null when none is set.

  • MACHINE when any served field was translated by machine, else HUMAN. Null when the record has no text.

  • servedLocaleString

    The language the text fields are served in. This is the requested language when any field is available in it, else the author's main language. Each field falls back on its own: the author's text, then the machine's, then the main language. Null when the record has no text.

Utilisé par