翻譯
透過集合功能整理內容
你可以依據偏好儲存及分類內容。

透過 ML Kit 的裝置端翻譯 API,您可以動態翻譯超過 50 種語言的文字。
iOS
Android
主要功能
- 支援多種語言,支援超過 50 種語言。請參閱完整清單。
- 經過驗證的翻譯模型採用與 Google 翻譯應用程式離線模式相同的模型。
- 動態模型管理:動態下載及管理語言套件,避免裝置端儲存空間需求降低。
- 在裝置上執行:翻譯作業會快速執行,因此您不必將使用者的文字傳送至遠端伺服器。
限制
裝置端翻譯適用於簡單簡單的翻譯。翻譯品質取決於原文和譯文語言。建議您針對特定用途評估翻譯品質。如果您需要高精確度,請嘗試 Cloud Translation API。
此外,ML Kit 的翻譯模型也經過訓練,可互譯英文。在非英文語言之間互譯時,英文會做為中繼翻譯,這可能會影響品質。
使用指南
如要瞭解使用這個 API 的重要規範和限制,請參閱指南頁面。本文件說明如何在翻譯文字時在應用程式中加入作者資訊。
提供意見
由於自然語言處理相當複雜,因此提供的翻譯可能不適合所有情境或目標對象。如果您遇到不適當的翻譯,請與 ML Kit 支援聯絡。您的意見回饋有助於持續改善模型,也能讓我們停用不當的翻譯。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-05 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-09-05 (世界標準時間)。"],[[["ML Kit's on-device translation API enables dynamic translation between 50+ languages without needing an internet connection."],["It leverages the same robust models as Google Translate's offline mode, ensuring high-quality translations."],["Language packs are dynamically managed, minimizing storage footprint on the user's device."],["While suitable for casual translations, it's recommended to evaluate the quality for specific use cases and consider Cloud Translation API for higher fidelity needs."],["Translations involving non-English languages utilize English as an intermediary, potentially affecting the overall translation quality."]]],["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"]]