Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Translation.StartSession

Begins a new session.

Component Version macOS Windows Linux Server iOS SDK
Translation 16.0 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Translation.StartSession"; fromLanguageIdentifier { ; toLanguageIdentifier } )   More

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"; $session; "Hallo Leute" ) ]
# show to user
Show Custom Dialog [ $translation ]
# cleanup
Set Variable [ $r ; Value: MBS( "Translation.Release"; $session) ]

See also

Example Databases

Blog Entries

This function checks for a license.

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


Translation.SourceLanguage - Translation.Status