Skip to main content

CategoryTranslation Object

Represents category translations.

type CategoryTranslation implements Node {
id: ID!
language: LanguageDisplay!
seoTitle: String
seoDescription: String
slug: String
name: String
description: JSONString
descriptionJson: JSONString @deprecated
translatableContent: CategoryTranslatableContent
}

Fields

CategoryTranslation.id ● ID! non-null scalar miscellaneous

The ID of the category translation.

CategoryTranslation.language ● LanguageDisplay! non-null object miscellaneous

Translation language.

CategoryTranslation.seoTitle ● String scalar miscellaneous

Translated SEO title.

CategoryTranslation.seoDescription ● String scalar miscellaneous

Translated SEO description.

CategoryTranslation.slug ● String scalar miscellaneous

Translated category slug.

Added in Saleor 3.21

CategoryTranslation.name ● String scalar miscellaneous

Translated category name.

CategoryTranslation.description ● JSONString scalar miscellaneous

Translated description of the category.

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

CategoryTranslation.descriptionJson ● JSONString deprecated scalar miscellaneous

DEPRECATED

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

Translated description of the category.

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

CategoryTranslation.translatableContent ● CategoryTranslatableContent object products

Represents the category fields to translate.

Interfaces

Node interface miscellaneous

An object with an ID

Member Of

Category object ● CategoryTranslatableContent object

Implemented By

TranslationTypes union