Translation(source, translationopt, commentopt, contextopt, contextIdopt)

An translation for a string.

new Translation(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
Properties:
Name Type Description
source string The source string
translation string The translated string
comment string A comment to explain what needs to be explained
context string The context where the string is used
contextId int A unique id for the couple source/context