I18n website and URL prefix iso639
- by trante
I'm adding i18n to my website. For translated pages I add iso639 code of the language like this:
http://example.com/en/mypage.php
But I'm curious about language code. Should I use iso639-1 (en) or iso639-2 (eng) code ?
http://en.wikipedia.org/wiki/ISO_639#Relations_between_the_parts
When I check, I see that most of the websites including Wikipedia, uses 2 character language code ? What is the standart or most widely used option for language codes ?