| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Component: Translation
Functions for on-device translation on macOS 26 and iOS 26 or later.
Using machine learning to run a local model on-device to do translation.
| Version | macOS | Windows | Linux | Server | iOS SDK |
| 16.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
| Item | Details |
|---|---|
| Translation.Available New in 16.0 Queries whether translation is available. | Mac/iOS 16.0 |
| Translation.CanRequestDownloads New in 16.0 Queries whether this session can download. | Mac/iOS 16.0 |
| Translation.IsReady New in 16.0 Checks whether the session is ready to translate. | Mac/iOS 16.0 |
| Translation.List New in 16.0 Lists all identifiers for translation sessions. | Mac/iOS 16.0 |
| Translation.PrepareTranslation New in 16.0 Prepares translation. | Mac/iOS 16.0 |
| Translation.Release New in 16.0 Frees the translation session. | Mac/iOS 16.0 |
| Translation.ReleaseAll New in 16.0 Releases all translation sessions. | Mac/iOS 16.0 |
| Translation.SourceLanguage New in 16.0 Queries the input language to translate from. | Mac/iOS 16.0 |
| Translation.StartSession New in 16.0 Begins a new session. | Mac/iOS 16.0 |
| Translation.Status New in 16.0 Checks whether translation is available. | Mac/iOS 16.0 |
| Translation.SupportedLanguages New in 16.0 Queries the list of translation languages the framework supports. | Mac/iOS 16.0 |
| Translation.TargetLanguage New in 16.0 Queries output language to translate into. | Mac/iOS 16.0 |
| Translation.TranslateString New in 16.0 Translates a single string of text. | Mac/iOS 16.0 |
| Translation.Translations New in 16.0 Translates a several strings. | Mac/iOS 16.0 |
14 functions shown.