--- 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/2025-07/enums/LanguageCode). Returned by the [`Localization`](/docs/api/storefront/2025-07/objects/Localization) and [`Country`](/docs/api/storefront/2025-07/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: 2025-07 api_name: storefront type: object api_type: graphql source_url: html: 'https://shopify.dev/docs/api/storefront/2025-07/objects/Language' md: 'https://shopify.dev/docs/api/storefront/2025-07/objects/Language.md' --- # 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/2025-07/enums/LanguageCode). Returned by the [`Localization`](https://shopify.dev/docs/api/storefront/2025-07/objects/Localization) and [`Country`](https://shopify.dev/docs/api/storefront/2025-07/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/2025-07/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/2025-07/enums/LanguageCode) non-null The ISO code. * name [String!](https://shopify.dev/docs/api/storefront/2025-07/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/2025-07/objects/Country#field-Country.fields.availableLanguages) * [Country.defaultLanguage](https://shopify.dev/docs/api/storefront/2025-07/objects/Country#field-Country.fields.defaultLanguage) * [Localization.availableLanguages](https://shopify.dev/docs/api/storefront/2025-07/objects/Localization#field-Localization.fields.availableLanguages) * [Localization.language](https://shopify.dev/docs/api/storefront/2025-07/objects/Localization#field-Localization.fields.language)