問題タブ [google-translation-api]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
php - statickidz-api google translate-php で翻訳できない
昨日はすべてがトランスレータで完全に機能していましたが、今日は次のエラーが発生しています。
警告: C:\xampp\htdocs\apitranslation\vendor\statickidz\php-google-translate-free\src\GoogleTranslate.php の 123 行目の foreach() に無効な引数が指定されました
私のテキストは 5000 文字未満です。どちらが問題だと思いますか?
// Google 翻訳 URL $url = " https://translate.google.com/translate_a/single?client=at&dt=t&dt=ld&dt=qca&dt=rm&dt=bd&dj=1&hl=es-ES&ie=UTF-8&oe=UTF-8&inputm =2&otf=2&iid=1dd3b944-fa62-4b55-b330-74909a99969e ";