## DuTranslation(source, translationopt, commentopt, contextopt, contextIdopt)

An translation for a string.
Constructor

#### # new DuTranslation(source, translationopt, commentopt, contextopt, contextIdopt)

Creates a new string translation.

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`source` | `string` |  |  | The source string
`translation` | `string` | <optional> | '' | The translated string
`comment` | `string` | <optional> | '' | A comment to explain what needs to be explained
`context` | `string` | <optional> | '' | The context where the string is used
`contextId` | `int` | <optional> | 0 | A unique id for the couple source/context

View Source DuAEF_Duik_api.jsxinc, line 3130

# Members

Type: `string`

#### # comment

A comment to explain what needs to be explained

View Source DuAEF_Duik_api.jsxinc, line 3150

Type: `string`

#### # context

The context where the string is used

View Source DuAEF_Duik_api.jsxinc, line 3157

Type: `string`

#### # contextId

A unique id for the couple source/context

View Source DuAEF_Duik_api.jsxinc, line 3164

Type: `string`

#### # source

The source string

View Source DuAEF_Duik_api.jsxinc, line 3136

Type: `string`

#### # translation

The translated string

View Source DuAEF_Duik_api.jsxinc, line 3143