Translation.PrepareTranslation
------------------------------

Prepares translation.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Translation](component_Translation.md) | [16.0](newinversion160.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "Translation.PrepareTranslation"; SessionID ) 

**MBS**( **"Translation.PrepareTranslation";** /\* Prepares translation. \*/  
**$SessionID**) /\* The translation session.e.g. $session \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| SessionID | The translation session. | $session |

### Result

Returns OK or error.

### Description

Prepares translation.  
Asks for permission to download translation languages without doing any translations.  
  
If you know ahead of time which languages the person needs to translate, you can prompt them to download those languages in advance by calling this method.  
  
When you call this method, the framework asks the person for permission to download the sourceLanguage and targetLanguage. If the languages are already installed or in the middle of downloading, the function returnswithout prompting them.  
  
If you call this function when the sourceLanguage is empty, it unableToIdentifyLanguage error, since there's no sample text to identify which source language to use for translation.  
This function is free to use.

Created 24th November 2025 , last changed 24th November 2025

  
[Translation.List](TranslationList.md) - [Translation.Release](TranslationRelease.md)

[HTML Version](TranslationPrepareTranslation.shtml)