Translation
A localized version of a field on a resource. Translations enable merchants to provide content in multiple languages for Product objects, Collection objects, and other store resources.
Each translation specifies the locale, the field being translated (identified by its key), and the translated value. Translations can be market-specific, allowing different content for the same language across different markets, or available globally when no Market is specified. The outdated flag indicates whether the original content has changed since this translation was last updated.
Learn more about managing translated content.
Anchor to FieldsFields
- •String!non-null
On the resource that this translation belongs to, the reference to the value being translated.
- Anchor to localelocale•String!non-null
ISO code of the translation locale.
- Anchor to marketmarket•Market
The market that the translation is specific to. Null value means the translation is available in all markets.
- Anchor to outdatedoutdated•Boolean!non-null
Whether the original content has changed since this translation was updated.
- Anchor to updatedAtupdated•Date
At Time The date and time when the translation was updated.
- Anchor to valuevalue•String
Translation value.
Anchor to MutationsMutations
- •mutation
Creates or updates translations for a resource's translatable content.
Each translation requires a digest value from the resource's translatable content. Use the
query to get a resource's translatable content and digest values before creating translations. You can optionally scope translations to specific markets using thefield in each translation input.Learn more about managing translations.
- •mutation
Deletes translations.