Skip to main content
Anchor to TranslatableResource

TranslatableResource

object

Requires read_translations access scope.

A resource in Shopify that contains fields available for translation into different languages. Accesses the resource's translatable content, existing Translation objects, and any nested resources that can also be translated.

The TranslatableContent includes field keys, values, and digest hashes needed when registering translations.

You can retrieve translations for specific Locale and Market configurations. Each translation includes an outdated flag indicating whether the original content has changed since that translation was last updated.

Learn more about managing translated content.

Anchor to nestedTranslatableResourcesnestedTranslatableResources
TranslatableResourceConnection!
non-null

Nested translatable resources under the current resource.

Arguments

TranslatableResourceType

Return only resources of a type.

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.


ID!
non-null

GID of the resource.

[TranslatableContent!]!
non-null

Translatable content.

Arguments

ID

Filters translatable content by market ID. Use this argument to retrieve translatable content specific to a market.


[Translation!]!
non-null

Translatable content translations (includes unpublished locales).

Arguments

String!
required

Filters translations by locale.

Boolean

Filters by outdated translations.

ID

Filters translations by market ID. Use this argument to retrieve content specific to a market.



Was this section helpful?

query

Retrieves a resource that has translatable fields. Returns the resource's Translation objects for different locales and markets, along with the original TranslatableContent and digest values needed to register new translations. Provides access to existing translations, translatable content with digest hashes for translation registration, and nested translatable resources like ProductVariant objects or Metafield objects.

Learn more about managing translated content.

Arguments

ID!
required

Find a translatable resource by ID.


query

Returns a paginated list of TranslatableResource objects for a specific resource type. Each resource provides translatable content and digest values needed for the translationsRegister mutation.

Learn more about managing translated content.

Learn more about managing translated content.

Arguments

TranslatableResourceType!
required

Return only resources of a type.

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.


query

Returns a paginated list of TranslatableResource objects for the specified resource IDs. Each resource provides translatable content and digest values needed for the translationsRegister mutation.

Learn more about managing translated content.

Arguments

[ID!]!
required

Return only resources for given IDs.

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.



Was this section helpful?