Which ISO format should I use to store a user's language?

Posted by John Himmelman on Stack Overflow See other posts from Stack Overflow or by John Himmelman
Published on 2010-03-24T20:17:37Z Indexed on 2010/03/24 20:23 UTC
Read the original article Hit count: 151

Filed under:

Should I use ISO 639-1 (2-letter abbreviation) or ISO 639-2 (3 letter abbrv) to store the user's language? Both are official standards, but which is the de facto standard in the development community? I think ISO 639-1 would be easier to remember, and is probably more popular for that reason, but thats just a guess.

The site I'm building will have a separate site for the US, Brazil, Russia, China, & the UK.

http://en.wikipedia.org/wiki/ISO_639

© Stack Overflow or respective owner

Related posts about internationalization