Hi there,
I've done some digging into our hreflang and this article explains that there isn't a hreflang code for Europe - currently we're using "en-eu" in our hreflang but "eu" is the country code for Basque.
Can someone explain what territory/region the eu code serves in Prismic?
Thank you,
Pau
July 25, 2022, 9:52pm
2
Hello, eu-eu
in Prismic is linked to the English - Europe locale.
Hi @Pau
But this article explains that Europe local does not exist in hreflang: List of Hreflang Country and Language Codes & Frequent Errors - Martin Kura
Hreflang is only available for individual countries, not entire regions.
Pau
July 26, 2022, 11:24pm
6
I understand. I'll share this with the product team to understand why this decision was taken.
Pau
July 29, 2022, 6:05pm
9
Hey there @stephen.mcquinn .
So, we had this lang code reserved for English - Basque before, but we changed it because “Basque” is not listed as a country in the ISO 3166 standard but it is listed as a language in the ISO 639 standard.
Pau:
ISO 639
Hi Pau - I've looked into this further and have found that the language code can use ISO 639, but the region must be in ISO 3166
This website explains this in clearer terms: Hreflang tags - Twaino
Can you please send me a further explanation, thank you.
Pau
August 3, 2022, 11:24pm
11
Yes, If you see the list of ISO 3166 in the link given by google you can see eu
is assigned to the European Union:
ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest. They are the most widely used of the country codes published by ISO (the others being alpha-3 and numeric), and are used most prominently for the Internet's country code top-level domains (with a few exceptions). They are also us Th...
Ah ok, thank you for the confirmation Pau
1 Like