---
title: vx_translated_text
product: Vivox Core SDK
canonical: https://docs.unity.com/en-us/vivox-core/reference-manual/core/structvx__translated__text
last_updated: 2026-11-19
generated_at: 2026-11-28T12:36:09.589Z
locale: en-us
---

# vx_translated_text

> One text of a vx_req_account_translate_text request, as the service answered it.

One text of a [vx\_req\_account\_translate\_text](structvx__req__account__translate__text) request, as the service answered it.

`#include <Vxc.h>`

## Public Attributes

|         | Name                                                                                                                                        |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| int     | **[translated](#variable-translated)** 1 when text holds the translation.                                                                   |
| char \* | **[text](#variable-text)** The translated text.                                                                                             |
| char \* | **[detected\_source\_language](#variable-detected_source_language)** The source language the service detected, when the request named none. |
| int     | **[status\_code](#variable-status_code)** The service's error code for this text.                                                           |
| char \* | **[error](#variable-error)** The service's error name for this text.                                                                        |

## Public Attributes Documentation

### variable translated

```cpp
int translated;
```

1 when text holds the translation.

0 when the service refused this text; status\_code and error say why, and the other texts of the request are unaffected.

### variable text

```cpp
char * text;
```

The translated text.

NULL when translated is 0.

### variable detected\_source\_language

```cpp
char * detected_source_language;
```

The source language the service detected, when the request named none.

NULL otherwise.

### variable status\_code

```cpp
int status_code;
```

The service's error code for this text.

0 when translated is 1.

### variable error

```cpp
char * error;
```

The service's error name for this text.

NULL when translated is 1.
