---
title: "Translation"
description: "Translation corpus corresponding to the resource."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/localizations/objects/translation'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/localizations/objects/translation.md'
---
# Translation

Translation corpus corresponding to the resource.

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Fields

* `market`

  [Market!](https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/market.md)

  The primary market for the store.

* `outdated`

  [Boolean!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/boolean.md)

  Whether the translation data is outdated or up-to-date. If the original content has been updated but its translation has not, the translation data is considered to be outdated.
  - `true`: The translation data is outdated. 
  - `false`: The translation data is up-to-date. 

* `locale`

  [String!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Language used in the [market](https://help.shopline.com/hc/en-001/articles/12436136316313-Market-Management). <br></br>For example: `en`.

* `value`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Translated resource content.

* `key`

  [String!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  The attribute associated with the content of `value`. For example, if `value` returns a product title, `key` returns `title`.

* `updatedAt`

  [Date](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/date.md)

  The date and time when the translation data was last updated. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).

* `type`

  [LocalizableContentType](https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/enums/localizable-content-type.md)

  The data type of the content returned by `value`. For example, if `value` returns the product title `Multi-color stitching dress`, `type` returns `STRING`.

## Field from

* [TranslatableRegisterPayload](https://developer.shopline.com/docs/admin-graph-ql-api/localizations/objects/translatable-register-payload.md).translations

* [TranslationsRemovePayload](https://developer.shopline.com/docs/admin-graph-ql-api/localizations/objects/translations-remove-payload.md).translations

* [TranslatableResource](https://developer.shopline.com/docs/admin-graph-ql-api/localizations/objects/translatable-resource.md).translations

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

