Released 5 years ago , Last update 5 years ago

Language Detection Class using Google Translation API


This class can help you to detect the language of a given text. Uses the Google Translation API.


require 'lang_detect.class.php';  
$text = 'It is text in English';  

try {  
  echo lang_detect::detect($text);  
} catch (LangDetectException $e) {  
  echo $e->getMessage();  


14 day 14-day money-back guarantee


Apache License, 2.0

The Apache License, 2.0 is an open-source license.

License » Apache License, 2.0 Download

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.

Or enter your name and Email
No comments have been posted yet.