com.google.mlkit.nl.translate
Stay organized with collections
Save and categorize content based on your preferences.
Annotations
A language supported by the Translate
API.
Interfaces
A Translation
client for translating simple sentences from one language to another.
Classes
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 2024-10-31 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 2024-10-31 UTC."],[[["\u003cp\u003eThe ML Kit Translate API enables translation of simple sentences between supported languages.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the \u003ccode\u003eTranslator\u003c/code\u003e interface for performing translations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTranslateRemoteModel\u003c/code\u003e provides information about downloadable language models for offline translation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTranslateLanguage\u003c/code\u003e offers details about the languages supported by the Translate API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTranslatorOptions\u003c/code\u003e and its builder allow customization of translation settings.\u003c/p\u003e\n"]]],[],null,["# com.google.mlkit.nl.translate\n\n### Annotations\n\n|-----------------------------------------------------------------------------------------------------------|--------------------------------------------|\n| [TranslateLanguage.Language](/android/reference/com/google/mlkit/nl/translate/TranslateLanguage.Language) | A language supported by the Translate API. |\n\n### Interfaces\n\n|---------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Translator](/android/reference/com/google/mlkit/nl/translate/Translator) | A [Translation](/android/reference/com/google/mlkit/nl/translate/Translation) client for translating simple sentences from one language to another. |\n\n### Classes\n\n|---------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [TranslateLanguage](/android/reference/com/google/mlkit/nl/translate/TranslateLanguage) | Information about the languages that are supported by the Translate API. |\n| [TranslateRemoteModel](/android/reference/com/google/mlkit/nl/translate/TranslateRemoteModel) | Information about a downloaded or to-be-downloaded model for translation. |\n| [TranslateRemoteModel.Builder](/android/reference/com/google/mlkit/nl/translate/TranslateRemoteModel.Builder) | Builder for a [TranslateRemoteModel](/android/reference/com/google/mlkit/nl/translate/TranslateRemoteModel). |\n| [Translation](/android/reference/com/google/mlkit/nl/translate/Translation) | Entry point to get a [Translator](/android/reference/com/google/mlkit/nl/translate/Translator) for translating from the source language to the target language specified in [options](/android/reference/com/google/mlkit/nl/translate/TranslatorOptions). |\n| [TranslatorOptions](/android/reference/com/google/mlkit/nl/translate/TranslatorOptions) | Options for [Translator](/android/reference/com/google/mlkit/nl/translate/Translator). |\n| [TranslatorOptions.Builder](/android/reference/com/google/mlkit/nl/translate/TranslatorOptions.Builder) | Builder to create a [TranslatorOptions](/android/reference/com/google/mlkit/nl/translate/TranslatorOptions) instance. |"]]