[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-26 UTC."],[[["\u003cp\u003eThe Language service enables automatic text translation within scripts.\u003c/p\u003e\n"],["\u003cp\u003eIt uses the \u003ccode\u003eLanguageApp\u003c/code\u003e class and methods like \u003ccode\u003etranslate()\u003c/code\u003e to perform the translations.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify the source and target languages for translation using language codes like 'en' for English and 'es' for Spanish.\u003c/p\u003e\n"]]],[],null,["Language\n\nThis service allows scripts to automatically translate text. \n\n // The code below will write 'Esta es una prueba' to the log.\n var spanish = LanguageApp.translate('This is a test', 'en', 'es');\n Logger.log(spanish);\n\nClasses \n\n| Name | Brief description |\n|-------------------------------------------------------------|----------------------------------------------------------------------------------------|\n| [LanguageApp](/apps-script/reference/language/language-app) | The Language service provides scripts a way to compute automatic translations of text. |\n\n[LanguageApp](/apps-script/reference/language/language-app) \n\nMethods\n\n| Method | Return type | Brief description |\n|------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|--------------------------------------------------------------------------------------|\n| [translate(text, sourceLanguage, targetLanguage)](/apps-script/reference/language/language-app#translate(String,String,String)) | `String` | Automatically translates some text from a source language to a destination language. |\n| [translate(text, sourceLanguage, targetLanguage, advancedArgs)](/apps-script/reference/language/language-app#translate(String,String,String,Object)) | `String` | Automatically translates some text from a source language to a destination language. |"]]