---
title: "init(conversationID:isTranslating:localLanguage:remoteLanguage:)"
framework: livecommunicationkit
role: symbol
role_heading: Initializer
path: "livecommunicationkit/settranslatingaction/init(conversationid:istranslating:locallanguage:remotelanguage:)"
---

# init(conversationID:isTranslating:localLanguage:remoteLanguage:)

Creates an action that starts or stops translation.

## Declaration

```swift
init(conversationID: UUID, isTranslating: Bool, localLanguage: Locale.Language, remoteLanguage: Locale.Language)
```

## Parameters

- `conversationID`: The unique identifier for a conversation.
- `isTranslating`: A value that indicates whether translation is active or paused.
- `localLanguage`: The local participant’s language.
- `remoteLanguage`: The remote participant’s language.
