Friday February 10th 2012

Language and Country Codes

HTTPMany multilingual websites are organized using subdomains and subdirectories based on language codes or country codes. These are usually ISO codes. See the following example that Google gave for a French website in Canada using the alpha-2 code for the French language:

French language code subdirectory: www.example.ca/fr
French language code subdomain: fr.example.ca

Where can you find a list of those codes?

Language Codes: ISO 639-1 (alpha-2) and ISO 639-1 (alpha-3)

Country Codes: ISO 3166-1 (alpha-2 and alpha-3)

Share