Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

google api for language translation in php

1
2
$result = $translate->detectLanguage('Bonjour le monde!');
echo $result['languageCode']; // output is 'fr'
Source by artisansweb.net #
 
PREVIOUS NEXT
Tagged: #google #api #language #translation #php
ADD COMMENT
Topic
Name
9+9 =