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-10 (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.