https://github.com/googleapis/google-cloud-php-translate/tree/v1.17.5 해당 페이지에 들어가면 설치부터 샘플코드까지 있다. 영어 / 일어 / 중국어 번역을 지원하고 한번에 30000까지 번역할 수 있다.
Sample Using the Generated Client (Interacts with the V3 API) require 'vendor/autoload.php'; use Google\Cloud\Translate\V3\TranslationServiceClient; $translationClient = new TranslationServiceClient(); $content = ['one', 'two', 'three']; $targetLanguage = 'es'; $response = $translationClient->translateText( $content, $targetLanguage, TranslationServiceCl...
#
google_cloud_php
#
v3
#
구글번역
원문 링크 : 구글 클라우드 번역 이용하여 번역하기