Language detection in PHP

This is a *very* short note, but I'm writing it down in case I would forget in the coming weeks. There is a language detection package available in the PEAR project, which might come handy in the future for Dokeos: http://pear.php.net/package/Text_LanguageDetect