---
title: Language - Storefront API
description: >-
  A language available for a localized storefront experience. Provides the

  language name in both its native form (endonym) and translated into the
  current

  language, along with its
  [`LanguageCode`](/docs/api/storefront/2026-10/enums/LanguageCode).


  Returned by the
  [`Localization`](/docs/api/storefront/2026-10/objects/Localization)

  and [`Country`](/docs/api/storefront/2026-10/objects/Country)

  objects to indicate available and active languages. Pass the `isoCode` to the
  [`@inContext`](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/in-context)

  directive to retrieve translated content in that language.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/storefront/latest/objects/Language'
  md: 'https://shopify.dev/docs/api/storefront/latest/objects/Language.md'
api_name: storefront
api_type: graphql
type: object
---

# Language

object

A language available for a localized storefront experience. Provides the language name in both its native form (endonym) and translated into the current language, along with its [`LanguageCode`](https://shopify.dev/docs/api/storefront/2026-10/enums/LanguageCode).

Returned by the [`Localization`](https://shopify.dev/docs/api/storefront/2026-10/objects/Localization) and [`Country`](https://shopify.dev/docs/api/storefront/2026-10/objects/Country) objects to indicate available and active languages. Pass the `isoCode` to the [`@inContext`](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/in-context) directive to retrieve translated content in that language.

## Fields

* endonym​Name

  [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String)

  non-null

  The name of the language in the language itself. If the language uses capitalization, it is capitalized for a mid-sentence position.

* iso​Code

  [Language​Code!](https://shopify.dev/docs/api/storefront/latest/enums/LanguageCode)

  non-null

  The ISO code.

* name

  [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String)

  non-null

  The name of the language in the current language.

***

## Map

### Fields with this object

* [Country.availableLanguages](https://shopify.dev/docs/api/storefront/latest/objects/Country#field-Country.fields.availableLanguages)
* [Country.defaultLanguage](https://shopify.dev/docs/api/storefront/latest/objects/Country#field-Country.fields.defaultLanguage)
* [Localization.availableLanguages](https://shopify.dev/docs/api/storefront/latest/objects/Localization#field-Localization.fields.availableLanguages)
* [Localization.language](https://shopify.dev/docs/api/storefront/latest/objects/Localization#field-Localization.fields.language)
