Important facts about commercial licenses

  • Licenses are perpetual. They do not expire and do not need to be renewed.
  • Licenses can be upgraded. You can upgrade to a more expensive license later paying only the difference in cost.
  • Pay attention to the distribution type - Hosted (sites / servers), binary (applications) or source (includes all the others). Choose according to your needs (more below).
  • All licenses allow commercial use unless otherwise indicated.
  • Read the full license by clicking on the icon.
  • Read more about licenses in our handy license guide.
Free

Apache License, 2.0

The Apache License, 2.0 is an
open-source license.
You need to log-in or create an account
  • Create an account
  • Log-in
  • Please use your real name.
  • Account activation link will be sent to this address.
  • Minimum 8 characters

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

  • Released: Feb 23, 2011
    Last Update: Feb 23, 2011
  • Language: PHP
  • Category: Social media

langdetect

langdetect
Developed by Ilya Chekalskiy, Released Feb 23, 2011

Language Detection Class using Google Translation API

PHP

Tags: detect , language , php , text

Description

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

Example

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

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

User Reviews

No reviews have been submitted yet.

Questions & Comments


Or enter your name and Email
No comments have been posted yet.
You must be logged-in to vote. Log-in to your account or register now.