PageTranslatableContent
Represents page's original translatable fields and related translations.
type PageTranslatableContent implements Node {
id: ID!
pageId: 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 miscellaneous
The ID of the page translatable content.
PageTranslatableContent.pageId
● ID!
non-null scalar miscellaneous
The ID of the page to translate.
Added in Saleor 3.14
PageTranslatableContent.seoTitle
● String
scalar miscellaneous
SEO title to translate.
PageTranslatableContent.seoDescription
● String
scalar miscellaneous
SEO description to translate.
PageTranslatableContent.title
● String!
non-null scalar miscellaneous
Page title to translate.
PageTranslatableContent.content
● JSONString
scalar miscellaneous
Content of the page to translate.
Rich text format. For reference see https://editorjs.io/
PageTranslatableContent.contentJson
● JSONString
deprecated scalar miscellaneous
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 pages
Returns translated page fields for the given language code.
PageTranslatableContent.translation.languageCode
●LanguageCodeEnum!
non-null enum miscellaneousA language code to return the translation for page.
PageTranslatableContent.page
● Page
deprecated object pages
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 attributes
List of page content attribute values that can be translated.
Interfaces
Node
interface miscellaneous
An object with an ID
Member Of
PageTranslate
object ● PageTranslation
object
Implemented By
TranslatableItem
union