Skip to main content

PageTranslation Object

Represents page translations.

type PageTranslation implements Node {
id: ID!
language: LanguageDisplay!
seoTitle: String
seoDescription: String
slug: String
title: String
content: JSONString
contentJson: JSONString @deprecated
translatableContent: PageTranslatableContent
}

Fields

PageTranslation.id ● ID! non-null scalar miscellaneous

The ID of the page translation.

PageTranslation.language ● LanguageDisplay! non-null object miscellaneous

Translation language.

PageTranslation.seoTitle ● String scalar miscellaneous

Translated SEO title.

PageTranslation.seoDescription ● String scalar miscellaneous

Translated SEO description.

PageTranslation.slug ● String scalar miscellaneous

Translated page slug.

Added in Saleor 3.21

PageTranslation.title ● String scalar miscellaneous

Translated page title.

PageTranslation.content ● JSONString scalar miscellaneous

Translated content of the page.

Rich text format. For reference see https://editorjs.io/

PageTranslation.contentJson ● JSONString deprecated scalar miscellaneous

DEPRECATED

This field will be removed in Saleor 4.0. Use the content field instead.

Translated description of the page.

Rich text format. For reference see https://editorjs.io/

PageTranslation.translatableContent ● PageTranslatableContent object pages

Represents the page fields to translate.

Interfaces

Node interface miscellaneous

An object with an ID

Member Of

Page object ● PageTranslatableContent object

Implemented By

TranslationTypes union