PageTranslatableContent
Represents page's original translatable fields and related translations.
type PageTranslatableContent implements Node {
id: ID!
seoTitle: String
seoDescription: String
title: String!
content: JSONString
contentJson: JSONString @deprecated
translation(languageCode: LanguageCodeEnum!): PageTranslation
page: Page @deprecated
attributeValues: [AttributeValueTranslatableContent!]!
}
Fields
PageTranslatableContent.id
● ID!
non-null scalar
The ID of the page translatable content.
PageTranslatableContent.seoTitle
● String
scalar
SEO title to translate.
PageTranslatableContent.seoDescription
● String
scalar
SEO description to translate.
PageTranslatableContent.title
● String!
non-null scalar
Page title to translate.
PageTranslatableContent.content
● JSONString
scalar
Content of the page to translate.
Rich text format. For reference see https://editorjs.io/
PageTranslatableContent.contentJson
● JSONString
deprecated scalar
DEPRECATEDThis field will be removed in Saleor 4.0. Use the
content
field instead.Content of the page.
Rich text format. For reference see https://editorjs.io/
PageTranslatableContent.translation
● PageTranslation
object
Returns translated page fields for the given language code.
PageTranslatableContent.translation.languageCode
●LanguageCodeEnum!
non-null enumA language code to return the translation for page.
PageTranslatableContent.page
● Page
deprecated object
DEPRECATEDThis field will be removed in Saleor 4.0. Get model fields from the root level queries.
A static page that can be manually added by a shop operator through the dashboard.
PageTranslatableContent.attributeValues
● [AttributeValueTranslatableContent!]!
non-null object
List of page content attribute values that can be translated.
Interfaces
Node
interface
An object with an ID
Member of
PageTranslate
object
Implemented by
TranslatableItem
union