Translation
Translation of a field of a resource.
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.
- Anchor to resourceIdresource•ID!
Id required ID of the resource that is being translated.
- Anchor to translationstranslations•[Translation
Input!]! required Specifies the input fields for a translation.
Arguments
- Anchor to translationstranslations•[Translation!]
The translations that were created or updated.
- Anchor to userErrorsuser•[Translation
Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Deletes translations.
- Anchor to localeslocales•[String!]!required
The list of translation locales. Only locales returned in
are valid.
- Anchor to marketIdsmarket•[ID!]
Ids The list of market IDs.
- Anchor to resourceIdresource•ID!
Id required ID of the translatable resource for which translations are being deleted.
- Anchor to translationKeystranslation•[String!]!
Keys required The list of translation keys.
Arguments
- Anchor to translationstranslations•[Translation!]
The translations that were deleted.
- Anchor to userErrorsuser•[Translation
Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
Fields