PageTranslatableContent Object
Represents page’s original translatable fields and related translations.
type PageTranslatableContent implements Node {
id: ID!
pageId: ID!
seoTitle: String
seoDescription: String
slug: String
title: String!
content: JSONString
contentJson: JSONString @deprecated(reason: "Use the `content` field instead.")
translation(languageCode: LanguageCodeEnum!): PageTranslation
page: Page @deprecated(reason: "Get model fields from the root level queries.")
attributeValues: [AttributeValueTranslatableContent!]!
}
Interfaces
Fields
id
id · ID!
The ID of the page translatable content.
pageId
pageId · ID!
The ID of the page to translate.
seoTitle
seoTitle · String
SEO title to translate.
seoDescription
seoDescription · String
SEO description to translate.
slug
slug · String
Slug to translate.
Added in Saleor 3.21title
title · String!
Page title to translate.
content
content · JSONString
Content of the page to translate.
Rich text format. For reference see https://editorjs.io/
contentJson
contentJson · JSONString
Content of the page.
Rich text format. For reference see https://editorjs.io/
translation
translation · PageTranslation
Returns translated page fields for the given language code.
languageCode
languageCode · LanguageCodeEnum!
A language code to return the translation for page.
page
page · Page
A static page that can be manually added by a shop operator through the dashboard.
attributeValues
attributeValues · [AttributeValueTranslatableContent!]!
List of page content attribute values that can be translated.
Used by
Schema: Saleor 3.23.43. Download SDL.