I have an input in my form, I wanna find a solution to determine which language is typed in..( is it English, french, arabic, or Hebrew ..)...
in PHP script, also I use UTF-8 encode.
I have an input in my form, I wanna find a solution to determine which language is typed in..( is it English, french, arabic, or Hebrew ..)...
in PHP script, also I use UTF-8 encode.
Use google translate API http://code.google.com/apis/ajaxlanguage/documentation/#Detect
On server side, try this.I haven't tried it though.
And please do read the terms before using it. :)
Google have an API for language detection that you could use:
http://code.google.com/intl/da/apis/ajaxlanguage/documentation/#Detect
You can use a perl script for that, see: http://odur.let.rug.nl/~vannoord/TextCat/Demo/
Several competing/alternative products are also listed on that page.