---
updatedAt: 2025-05-30T14:18:39.000Z
agentTools:
  projectIndex: https://support.zoey.com/llms.txt
---

# Locale Values for hreflang tag

## Overview

The value of the **hreflang attribute** is that it identifies the language (in ISO 639-1 format) and optionally the region (in ISO 3166-1 Alpha 2 format) of an alternate URL. For example:

* de: German content, independent of region
* en-GB: English content, for GB users
* de-ES: German content, for users in Spain

[For more information please read the guidelines posted by Google](https://support.google.com/webmasters/answer/189077?hl=en)

## Settings

By default Zoey will use the locale code for your selected language. (i.e. English (United States) will use **en-us**). If you would like to specify a different locale, you can do so in the **Locale Values for \<hreflang> tag** setting in **Setup > Localization > Multi-Language SEO**

> 📘 Locale Code May Be Different
>
> If you have set a value for code under Setup->Localization->Manage Languages then that code will be used as the locale code for the URL.

<Image title="2017-05-31_17-21-58.png" alt={1120} src="https://files.readme.io/d6231f6-2017-05-31_17-21-58.png">
  Locale Values for &lt;hreflang&gt; Tag Setting
</Image>

This setting allows you to specify either a Language OR Language + Region code, all compliant with Google's standards. For instance, you can specify "en" for English rather than "en-us" which will specifically target English speakers in the United States.

## Language Codes (ISO 639-1)

<HTMLBlock>{`
<iframe src="https://docs.google.com/spreadsheets/d/1LoelEBWZCb_RKU8VARmq4SJk4MGUslw846UXn6ag80E/pubhtml?widget=true&amp;headers=false" width="100%"; height="800px";></iframe>
`}</HTMLBlock>

## Region Codes (ISO 3166-1 alpha-2)

<HTMLBlock>{`
<iframe src="https://docs.google.com/spreadsheets/d/116y2bxGm0hL_I1-JthdxhJmrVi23z1KnMu4nFyOah_Y/pubhtml?widget=true&amp;headers=false" width="100%"; height="800px";></iframe>
`}</HTMLBlock>