---
title: >-
  Locale fields are now appended with language and country codes - Shopify
  developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/locale-fields-are-now-appended-with-language-and-country-codes
  md: >-
    https://shopify.dev/changelog/locale-fields-are-now-appended-with-language-and-country-codes.md
metadata:
  effectiveApiVersion: 2021-10
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2021-12-10T11:20:47-05:00'
  postedAt: '2021-12-10T00:00:00-05:00'
  updatedAt: '2024-12-13T17:24:32-05:00'
  effectiveAt: '2021-12-10T00:00:00-05:00'
---

December 10, 2021

Tags:

* API
* 2021-10

# Locale fields are now appended with language and country codes

If available, the language and country/region codes of a customer can now be appended to locale fields to provide more granularity for our partners. Affected fields are `Order.customerLocale` and `Customer.locale` in the GraphQL Admin API. For example, if a customer places an order in the `french` language within the `France` storefront of the shop, then the `Order.customerLocale` and `Customer.locale` fields will have `fr-Fr`.

For more information, refer to the [Order](https://shopify.dev/api/admin-graphql/2021-10/objects/order#fields-Order-OBJECT) and [Customer](https://shopify.dev/api/admin-graphql/2021-10/objects/Customer#fields-Customer-OBJECT) object fields.
