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 | שירות השפה מספק לסקריפטים דרך לחשב תרגומים אוטומטיים של טקסט. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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."]]],[]]