: I18n website and URL prefix iso639 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
I'm adding i18n to my website. For translated pages I add iso639 code of the language like this:
example.com/en/mypage.php
But I'm curious about language code. Should I use iso639-1 (en) or iso639-2 (eng) code ? 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 ?
More posts by @Cooney921
1 Comments
Sorted by latest first Latest Oldest Best
Two letter language and country abbreviations are much more widely used than their three letter counterparts. Here are some examples:
Locale codes (en_US) such as the ones used in Java
Top level country code domains (.us)
Locale codes recommended by the w3c for use on the web (en-US)
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.