Skip to main content
Anchor to translatableResource

translatableResource

query

Requires read_translations access scope.

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.

•ID!
required

Find a translatable resource by ID.


Was this section helpful?

Anchor to TranslatableResourceTranslatableResource
•TranslatableResource

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?