Skip to main content

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
translation(languageCode: LanguageCodeEnum!): PageTranslation
page: Page @deprecated
attributeValues: [AttributeValueTranslatableContent!]!
}

Fields

id ● ID!

The ID of the page translatable content.

pageId ● ID!

The ID of the page to translate.

seoTitle ● String

SEO title to translate.

seoDescription ● String

SEO description to translate.

slug ● String

Slug to translate.

Added in Saleor 3.21

title ● String!

Page title to translate.

content ● JSONString

Content of the page to translate.

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

translation ● PageTranslation

Returns translated page fields for the given language code.

languageCode ● LanguageCodeEnum!

A language code to return the translation for page.

attributeValues ● [AttributeValueTranslatableContent!]!

List of page content attribute values that can be translated.

Show deprecated

Interfaces

Node

An object with an ID

Member Of

PageTranslate object ● PageTranslation object

Implemented By

TranslatableItem union