# API Reference v10.3.1 (Python)

## TranslateMessage (data class)

Module: zaber_motion.gcode

Represents a message from translator regarding a block translation.

To use this type, add `from zaber_motion.gcode import TranslateMessage` to the top of your source code.

### Properties

#### `message`

`translate_message.message`

Type: `str`

The message describing an occurrence.

#### `from_block`

`translate_message.from_block`

Type: `int`

The index in the block string that the message regards to.

#### `to_block`

`translate_message.to_block`

Type: `int`

The end index in the block string that the message regards to. The end index is exclusive.
