Home > @infiniteobjects/shopify-data-manager > AdminTypes > TranslationInput
The input fields and values for creating or updating a translation.
Signature:
export interface TranslationInput
Property | Modifiers | Type | Description |
---|---|---|---|
key | Scalars[‘String’][‘input’] | On the resource that this translation belongs to, the reference to the value being translated. | |
locale | Scalars[‘String’][‘input’] | ISO code of the locale being translated into. Only locales returned in shopLocales are valid. |
|
marketId? | InputMaybe<Scalars[‘ID’][‘input’]> | (Optional) The ID of the market that the translation is specific to. Not specifying this field means that the translation will be available in all markets. | |
translatableContentDigest | Scalars[‘String’][‘input’] | Hash digest representation of the content being translated. | |
value | Scalars[‘String’][‘input’] | The value of the translation. |