Translation User Error
Requires access scope.
Represents an error that happens during the execution of a translation mutation.
Anchor to FieldsFields
- code (TranslationErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Translation
Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- marketLocalizationsRegister (MarketLocalizationsRegisterPayload)
- marketLocalizationsRemove (MarketLocalizationsRemovePayload)
- translationsRegister (TranslationsRegisterPayload)
- translationsRemove (TranslationsRemovePayload)
- •mutation
Creates or updates market localizations.
- Anchor to resourceIdresource•ID!
Id required The ID of the resource that is being localized within the context of a market.
- Anchor to marketLocalizationsmarket•[Market
Localizations Localization Register Input!]! required The input fields for a market localization.
Arguments
- •mutation
Deletes market localizations.
- Anchor to resourceIdresource•ID!
Id required The ID of the resource for which market localizations are being deleted.
- Anchor to marketLocalizationKeysmarket•[String!]!
Localization Keys required The list of market localization keys.
- Anchor to marketIdsmarket•[ID!]!
Ids required The list of market IDs.
Arguments
- •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.
- 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
- •mutation
Deletes translations.
- 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.
- 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.
Arguments