Translate between 59 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, and the
quality of translations depends on the specific languages being translated from
and to. As such, you should 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 Usage Guidelines for ML Kit On-device Translation
for important guidelines and restrictions on usage of this API. This document
covers requirements around doing attribution in your app when translating text.
Providing 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 Firebase support. Your
feedback helps to continue to improve the models, and also allows us to disable
inappropriate translations.
Was this helpful?
Recommended for you
About these recommendations
These recommendations help you find the content you are looking for. They may be based on the page you’re currently viewing and your account’s saved web and app activity.
ML Kit for Firebase provided ready-to-use ML solutions for app developers. New apps should use the standalone ML Kit library for on-device ML and Firebase ML for cloud-based ML.
ML Kit for Firebase provided ready-to-use ML solutions for app developers. New apps should use the standalone ML Kit library for on-device ML and Firebase ML for cloud-based ML.
[[["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-20 UTC."],[],[]]