Language Service
ภาษา
บริการนี้ช่วยให้สคริปต์แปลข้อความโดยอัตโนมัติได้
// The code below will write 'Esta es una prueba' to the log.
var spanish = LanguageApp.translate('This is a test', 'en', 'es');
Logger.log(spanish);
ชั้นเรียน
ชื่อ | รายละเอียดแบบย่อ |
LanguageApp | บริการภาษามีวิธีคำนวณการแปลข้อความอัตโนมัติสำหรับสคริปต์ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-12-21 UTC
[null,null,["อัปเดตล่าสุด 2024-12-21 UTC"],[[["The Language service enables automatic text translation within scripts."],["It uses the `LanguageApp` class and methods like `translate()` to perform the translations."],["You can specify the source and target languages for translation using language codes like 'en' for English and 'es' for Spanish."]]],[]]