Reputation: 4428
Is there a standard for specifying the Locale (Country+Language) in the URL. I have seen:
Upvotes: 1
Views: 771
Reputation: 126
I'm not sure if there's a standard in place, this is usually free of choice and depending on the project scope. I think it matters more to put the language first because many countries use the same language. So you specify the language first and then the 'region' to narrow down.
Answering the following questions can help choosing the format:
I usually go by www.url.com/{LANG}/{COUNTRY}/
or www.url.com/{LANG}-{COUNTRY}/
Upvotes: 1