Detecting primary language in PHP by HTTP Accept-Language Posted on 2011-4-13, Wednesday Leave a Comment There you go: