Skip to main content

AttributeValueTranslatableContent

Represents attribute value's original translatable fields and related translations.

type AttributeValueTranslatableContent implements Node {
id: ID!
attributeValueId: ID!
name: String!
richText: JSONString
plainText: String
translation(languageCode: LanguageCodeEnum!): AttributeValueTranslation
attributeValue: AttributeValue @deprecated
attribute: AttributeTranslatableContent
}

Fields

AttributeValueTranslatableContent.id ● ID! non-null scalar miscellaneous

The ID of the attribute value translatable content.

AttributeValueTranslatableContent.attributeValueId ● ID! non-null scalar miscellaneous

The ID of the attribute value to translate.

Added in Saleor 3.14

AttributeValueTranslatableContent.name ● String! non-null scalar miscellaneous

Name of the attribute value to translate.

AttributeValueTranslatableContent.richText ● JSONString scalar miscellaneous

Attribute value.

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

AttributeValueTranslatableContent.plainText ● String scalar miscellaneous

Attribute plain text value.

AttributeValueTranslatableContent.translation ● AttributeValueTranslation object attributes

Returns translated attribute value fields for the given language code.

AttributeValueTranslatableContent.translation.languageCode ● LanguageCodeEnum! non-null enum miscellaneous

A language code to return the translation for attribute value.

AttributeValueTranslatableContent.attributeValue ● AttributeValue deprecated object attributes

DEPRECATED

This field will be removed in Saleor 4.0. Get model fields from the root level queries.

Represents a value of an attribute.

AttributeValueTranslatableContent.attribute ● AttributeTranslatableContent object attributes

Associated attribute that can be translated.

Added in Saleor 3.9

Interfaces

Node interface miscellaneous

An object with an ID

Member Of

AttributeValueTranslation object ● PageTranslatableContent object ● ProductTranslatableContent object ● ProductVariantTranslatableContent object

Implemented By

TranslatableItem union