Translation.StartSession
------------------------

Begins a new session.

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

MBS( "Translation.StartSession"; fromLanguageIdentifier { ; toLanguageIdentifier } ) 

**MBS**( **"Translation.StartSession";** /\* Begins a new session. \*/  
**$fromLanguageIdentifier**; /\* The language to translate from.e.g. "en" \*/   
**$toLanguageIdentifier**) /\* Optional; The language to translate from.  
If empty will default to the users current locale.e.g. "de" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| fromLanguageIdentifier | The language to translate from. | "en" |  |
| toLanguageIdentifier | The language to translate from.   If empty will default to the users current locale. | "de" | Optional |

### Result

Returns identifier or error.

### Description

Begins a new session.  
Creates a translation session to translate between a given source and target language already installed on device.  
  
If one or both of the languages aren't installed on the device already, attempting to translate will throw errors.   
### Examples

Translate a text:

 Set Variable \[ $session ; Value: MBS ( "Translation.StartSession"; "de"; "en") \]  
\# translate something   
Set Variable \[ $translation ; Value: MBS ( "[Translation.TranslateString](TranslationTranslateString.md)"; $session ; "Hallo Leute" ) \]  
\# show to user   
Show Custom Dialog \[ $translation \]  
\# cleanup   
Set Variable \[ $r ; Value: MBS ( "[Translation.Release](TranslationRelease.md)"; $session ) \]  
### See also

- [Translation.IsReady](TranslationIsReady.md)
- [Translation.Release](TranslationRelease.md)
- [Translation.SourceLanguage](TranslationSourceLanguage.md)
- [Translation.TargetLanguage](TranslationTargetLanguage.md)
- [Translation.TranslateString](TranslationTranslateString.md)
- [Translation.Translations](TranslationTranslations.md)

### Example Databases

- [Mac and iOS/Translation](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Translation.shtml#5ScriptAnchor_)

### Blog Entries

- [Translation Framework in FileMaker](https://www.mbsplugins.de/archive/2026-01-07/Translation_Framework_in_FileM/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 1/2026, Seite 8](https://filemaker-magazin.de/neuigkeit/4312-Die-neue-Ausgabe-FMM_202601-steht-online)
- [Ausgabe 1/2026, Seite 6](https://filemaker-magazin.de/neuigkeit/4312-Die-neue-Ausgabe-FMM_202601-steht-online)
- [Ausgabe 1/2026, Seite 11](https://filemaker-magazin.de/neuigkeit/4312-Die-neue-Ausgabe-FMM_202601-steht-online)

This function checks for a license.

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

  
[Translation.SourceLanguage](TranslationSourceLanguage.md) - [Translation.Status](TranslationStatus.md)

[HTML Version](TranslationStartSession.shtml)