whats new in translation apis?

Asked on 06/11/2025

1 search

At WWDC 2024, Apple introduced several updates to the Translation API. Here are the key highlights:

  1. Language Support: The Translation API now supports all the languages available in the Translate app, with the addition of Hindi this year. This expands the reach of translation capabilities to more users and applications. You can use the new language availability class to check which languages are supported and whether translation between specific language pairs is possible. Meet the Translation API (11:34).

  2. Translation Options: There are two main options for integrating translation into your app:

    • A simple API for showing a translation overlay.
    • A more flexible text translation API that allows for deeper integration and customization within your app's UI. Meet the Translation API (02:10).
  3. Batch Translation: For translating multiple strings of the same language, it's recommended to use batch translation functions. This can be more efficient and allows for either receiving all results at once or streaming them as they become available, which can make the UI feel more responsive. Meet the Translation API (10:37).

  4. On-Device Translation: The translation session performs translations using on-device machine learning models, which are shared across all apps on the system. This means that if a user has already downloaded a language, your app can use it without needing to download it again. Meet the Translation API (08:19).

These updates make it easier for developers to integrate robust translation features into their apps, enhancing accessibility and user experience across different languages.