Translation
Stay organized with collections
Save and categorize content based on your preferences.

With ML Kit's on-device translation API, you can dynamically translate text
between more than 50 languages.
iOS
Android
Key capabilities
- Broad language support Translate between more than 50 different languages. See
the complete list.
- Proven translation models Powered by the same models used by the
Google Translate app's offline mode.
- Dynamic model management Keep on-device storage requirements low by
dynamically downloading and managing language packs.
- Runs on the device Translations are performed quickly, and don't
require you to send users' text to a remote server.
Limitations
On-device translation is intended for casual and simple translations. The
translation quality depends on the source and target languages. We recommend
that you evaluate the quality of the translations for your
specific use case. If you require higher fidelity, try the
Cloud Translation API.
Also, ML Kit's translation models are trained to translate to and from
English. When you translate between non-English languages, English is used as an
intermediate translation, which can affect quality.
Usage guidelines
Refer to the Guidelines page
for important guidelines and restrictions on usage of this API. This document
includes requirements for including attribution in your app when translating
text.
Provide feedback
Due to the complexity of natural language processing, the translations provided
might not be appropriate for all contexts or audiences. If you encounter
inappropriate translations, reach out to ML Kit support. Your
feedback helps to continue to improve the models, and also allows us to disable
inappropriate translations.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-28 UTC."],[[["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"]]