Language detection is a PHP internationalisation package, it depends of translation-interface. This package contain many class to return a language select for internationalisation.