Find a fantasy extension for php to detect string language.
It needs some changes to complie as dll in VC++ 2010 Express. But easy to make the so under linux.
I’d spent the whole day to make research on language detect modules for php, it’s the best and now works fine in my project.
Thanks, Lars Strojny from github.
Don’t hesitate to use php-cld when you need something like this in php.