คำแปล
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ

API การแปลในอุปกรณ์ของ ML Kit ช่วยให้คุณแปลข้อความเป็นภาษาต่างๆ ได้มากกว่า 50 ภาษา
iOS
Android
ความสามารถหลัก
- การสนับสนุนภาษาแบบกว้าง แปลได้มากกว่า 50 ภาษา ดูรายการทั้งหมด
- โมเดลการแปลที่พิสูจน์แล้วขับเคลื่อนโดยโมเดลเดียวกับที่ใช้ในโหมดออฟไลน์ของแอป Google แปลภาษา
- การจัดการโมเดลแบบไดนามิก ลดข้อกำหนดด้านพื้นที่เก็บข้อมูลในอุปกรณ์ให้ต่ำด้วยการดาวน์โหลดและจัดการแพ็กภาษาแบบไดนามิก
- ทำงานในอุปกรณ์ การแปลจะเกิดขึ้นอย่างรวดเร็วและคุณไม่จำเป็นต้องส่งข้อความของผู้ใช้ไปยังเซิร์ฟเวอร์ระยะไกล
ข้อจำกัด
การแปลในอุปกรณ์ใช้สำหรับการแปลที่ไม่ซับซ้อนและเข้าใจง่าย คุณภาพการแปลขึ้นอยู่กับภาษาต้นฉบับและภาษาเป้าหมาย เราขอแนะนำให้ประเมินคุณภาพของคำแปลสำหรับกรณีการใช้งานเฉพาะ หากคุณต้องการความแม่นยำสูงขึ้น ให้ลองใช้ Cloud Translation API
นอกจากนี้ โมเดลการแปลของ ML Kit ยังได้รับการฝึกให้แปลจากภาษาอังกฤษเป็นภาษาไทยด้วย เมื่อคุณแปลไปมาระหว่างภาษาที่ไม่ใช่ภาษาอังกฤษ ระบบจะใช้ภาษาอังกฤษเป็นการแปลระหว่างกลาง ซึ่งอาจส่งผลต่อคุณภาพ
หลักเกณฑ์การใช้งาน
โปรดดูหลักเกณฑ์สำคัญและข้อจำกัดในการใช้งาน API นี้ในหน้าหลักเกณฑ์ เอกสารนี้
มีข้อกำหนดสำหรับการระบุแหล่งที่มาในแอปเมื่อแปลข้อความ
แสดงความคิดเห็น
เนื่องจากความซับซ้อนของการประมวลผลภาษาธรรมชาติ คำแปลที่แสดงจึงอาจไม่เหมาะสมกับบางบริบทหรือผู้ชม หากพบคำแปลที่ไม่เหมาะสม โปรดติดต่อทีมสนับสนุนของ ML Kit ความคิดเห็นของคุณช่วยให้เราปรับปรุงโมเดลต่อไปได้ และยังช่วยให้เราปิดใช้การแปลที่ไม่เหมาะสมได้
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-29 UTC
[null,null,["อัปเดตล่าสุด 2025-08-29 UTC"],[[["\u003cp\u003eML Kit's on-device translation API enables dynamic translation between 50+ languages without needing an internet connection.\u003c/p\u003e\n"],["\u003cp\u003eIt leverages the same robust models as Google Translate's offline mode, ensuring high-quality translations.\u003c/p\u003e\n"],["\u003cp\u003eLanguage packs are dynamically managed, minimizing storage footprint on the user's device.\u003c/p\u003e\n"],["\u003cp\u003eWhile suitable for casual translations, it's recommended to evaluate the quality for specific use cases and consider Cloud Translation API for higher fidelity needs.\u003c/p\u003e\n"],["\u003cp\u003eTranslations involving non-English languages utilize English as an intermediary, potentially affecting the overall translation quality.\u003c/p\u003e\n"]]],["ML Kit's on-device translation API enables dynamic text translation between over 50 languages, utilizing the same models as Google Translate's offline mode. Language packs are dynamically managed to minimize storage. Translations occur directly on the device, ensuring speed and privacy. The API is designed for casual translations, with quality varying by language pair. For high fidelity, the Cloud Translation API is recommended. Usage requires adherence to specific guidelines, including attribution. Feedback is encouraged to improve the service.\n"],null,["With ML Kit's on-device translation API, you can dynamically translate text\nbetween more than 50 languages.\n\n[iOS](/ml-kit/language/translation/ios)\n[Android](/ml-kit/language/translation/android)\n\nKey capabilities\n\n- **Broad language support** Translate between more than 50 different languages. See the [complete list](/ml-kit/language/translation/translation-language-support).\n- **Proven translation models** Powered by the same models used by the Google Translate app's offline mode.\n- **Dynamic model management** Keep on-device storage requirements low by dynamically downloading and managing language packs.\n- **Runs on the device** Translations are performed quickly, and don't require you to send users' text to a remote server.\n\nLimitations\n\nOn-device translation is intended for casual and simple translations. The\ntranslation quality depends on the source and target languages. We recommend\nthat you evaluate the quality of the translations for your\nspecific use case. If you require higher fidelity, try the\n[Cloud Translation API](https://cloud.google.com/translate/).\n\nAlso, ML Kit's translation models are trained to translate to and from\nEnglish. When you translate between non-English languages, English is used as an\nintermediate translation, which can affect quality.\n\nUsage guidelines\n\nRefer to the [Guidelines page](/ml-kit/language/translation/translation-terms)\nfor important guidelines and restrictions on usage of this API. This document\nincludes requirements for including attribution in your app when translating\ntext.\n\nProvide feedback\n\nDue to the complexity of natural language processing, the translations provided\nmight not be appropriate for all contexts or audiences. If you encounter\ninappropriate translations, reach out to [ML Kit support](/ml-kit/community). Your\nfeedback helps to continue to improve the models, and also allows us to disable\ninappropriate translations."]]