Tłumaczenie
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.

Dostępny na urządzeniu interfejs API tłumaczenia w ML Kit umożliwia dynamiczne tłumaczenie tekstu na ponad 50 języków.
iOS
Android
Najważniejsze funkcje
- Obsługa wielu języków Tłumacz treści w ponad 50 różnych językach. Zobacz pełną listę.
- Sprawdzone modele tłumaczenia oparte na tych samych modelach, które są używane w trybie offline aplikacji Tłumacz Google.
- Dynamiczne zarządzanie modelami Utrzymuj niskie wymagania dotyczące miejsca na dane na urządzeniu dzięki dynamicznemu pobieraniu pakietów językowych i zarządzaniu nimi.
- Uruchamia się na urządzeniu. Tłumaczenia są wykonywane szybko i nie wymagają wysyłania tekstu użytkowników na zdalny serwer.
Ograniczenia
Tłumaczenie na urządzeniu jest przeznaczone do swobodnego i prostego tłumaczenia. Jakość tłumaczenia zależy od języka źródłowego i docelowego. Zalecamy ocenę jakości tłumaczenia pod kątem konkretnego przypadku użycia. Jeśli potrzebujesz większej wierności, wypróbuj Cloud Translation API.
Ponadto trenowane są modele tłumaczenia w ML Kit pod kątem tłumaczenia z języka angielskiego na język angielski. W przypadku tłumaczenia z języków innych niż angielski używany jest jako tłumaczenie pośrednie, które może obniżyć jakość.
Wskazówki dotyczące stosowania
Na stronie ze wskazówkami znajdziesz ważne wytyczne i ograniczenia dotyczące korzystania z tego interfejsu API. Opisano w nim wymagania dotyczące dodawania informacji o pochodzeniu danych do aplikacji podczas tłumaczenia tekstu.
Przesyłanie opinii
Ze względu na złożoność przetwarzania języka naturalnego podane tłumaczenia mogą nie być odpowiednie w przypadku niektórych kontekstów i grup odbiorców. Jeśli napotkasz nieodpowiednie tłumaczenia, skontaktuj się z zespołem pomocy ML Kit. Twoja opinia pomoże nam ulepszać modele i wyłączyć nieodpowiednie tłumaczenia.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-29 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]