API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

translationsRegister mutation

Version unstable

Creates or updates translations.

Required access

write_translations access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
resourceId ( ID! ) required

ID of a translatable resource.

translations ( [TranslationInput!]! ) required

Specifies the input fields for a translation.

TranslationInput fields

  • key (String!) Required

    The key of the translation.

  • locale (String!) Required

    The locale of the translation.

  • translatableContentDigest (String!) Required

    The digest (hash) of the content being translated.

  • value (String!) Required

    The value of the translation.

Return fields

Version 2021-07 (Release candidate)

Creates or updates translations.

Required access

write_translations access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
resourceId ( ID! ) required

ID of a translatable resource.

translations ( [TranslationInput!]! ) required

Specifies the input fields for a translation.

TranslationInput fields

  • key (String!) Required

    The key of the translation.

  • locale (String!) Required

    The locale of the translation.

  • translatableContentDigest (String!) Required

    The digest (hash) of the content being translated.

  • value (String!) Required

    The value of the translation.

Return fields

Version 2021-04 (Latest)

Creates or updates translations.

Required access

write_translations access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
resourceId ( ID! ) required

ID of a translatable resource.

translations ( [TranslationInput!]! ) required

Specifies the input fields for a translation.

TranslationInput fields

  • key (String!) Required

    The key of the translation.

  • locale (String!) Required

    The locale of the translation.

  • translatableContentDigest (String!) Required

    The digest (hash) of the content being translated.

  • value (String!) Required

    The value of the translation.

Return fields

Version 2021-01

Creates or updates translations.

Required access

write_translations access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
resourceId ( ID! ) required

ID of a translatable resource.

translations ( [TranslationInput!]! ) required

Specifies the input fields for a translation.

TranslationInput fields

  • key (String!) Required

    The key of the translation.

  • locale (String!) Required

    The locale of the translation.

  • translatableContentDigest (String!) Required

    The digest (hash) of the content being translated.

  • value (String!) Required

    The value of the translation.

Return fields

Version 2020-10

Creates or updates translations.

Required access

write_translations access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
resourceId ( ID! ) required

ID of a translatable resource.

translations ( [TranslationInput!]! ) required

Specifies the input fields for a translation.

TranslationInput fields

  • key (String!) Required

    The key of the translation.

  • locale (String!) Required

    The locale of the translation.

  • translatableContentDigest (String!) Required

    The digest (hash) of the content being translated.

  • value (String!) Required

    The value of the translation.

Return fields

Version 2020-07

Creates or updates translations.

Required access

write_translations access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
resourceId ( ID! ) required

ID of a translatable resource.

translations ( [TranslationInput!]! ) required

Specifies the input fields for a translation.

TranslationInput fields

  • key (String!) Required

    The key of the translation.

  • locale (String!) Required

    The locale of the translation.

  • translatableContentDigest (String!) Required

    The digest (hash) of the content being translated.

  • value (String!) Required

    The value of the translation.

Return fields

Version 2020-04

Creates or updates translations.

Required access

write_translations access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
resourceId ( ID! ) required

ID of a translatable resource.

translations ( [TranslationInput!]! ) required

Specifies the input fields for a translation.

TranslationInput fields

  • key (String!) Required

    The key of the translation.

  • locale (String!) Required

    The locale of the translation.

  • translatableContentDigest (String!) Required

    The digest (hash) of the content being translated.

  • value (String!) Required

    The value of the translation.

Return fields

Version 2020-01 (Unsupported)

Creates or updates translations.

Required access

write_translations access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
resourceId ( ID! ) required

ID of a translatable resource.

translations ( [TranslationInput!]! ) required

Specifies the input fields for a translation.

TranslationInput fields

  • key (String!) Required

    The key of the translation.

  • locale (String!) Required

    The locale of the translation.

  • translatableContentDigest (String!) Required

    The digest (hash) of the content being translated.

  • value (String!) Required

    The value of the translation.

Return fields

Version 2019-10 (Unsupported)

Creates or updates translations.

Required access

write_translations access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
resourceId ( ID! ) required

ID of a translatable resource.

translations ( [TranslationInput!]! ) required

Specifies the input fields for a translation.

TranslationInput fields

  • key (String!) Required

    The key of the translation.

  • locale (String!) Required

    The locale of the translation.

  • translatableContentDigest (String!) Required

    The digest (hash) of the content being translated.

  • value (String!) Required

    The value of the translation.

Return fields

Version 2019-07 (Unsupported)

Creates or updates translations.

Required access

write_translations access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
resourceId ( ID! ) required

ID of a translatable resource.

translations ( [TranslationInput!]! ) required

Specifies the input fields for a translation.

TranslationInput fields

  • key (String!) Required

    The key of the translation.

  • locale (String!) Required

    The locale of the translation.

  • translatableContentDigest (String!) Required

    The digest (hash) of the content being translated.

  • value (String!) Required

    The value of the translation.

Return fields

Version 2019-04 (Unsupported)

Creates or updates translations.

Required access

write_translations access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
resourceId ( ID! ) required

ID of a translatable resource.

translations ( [TranslationInput!]! ) required

Specifies the input fields for a translation.

TranslationInput fields

  • key (String!) Required

    The key of the translation.

  • locale (String!) Required

    The locale of the translation.

  • translatableContentDigest (String!) Required

    The digest (hash) of the content being translated.

  • value (String!) Required

    The value of the translation.

Return fields