Translator++ Developer's Guide

  1. Home
  2. Docs
  3. Translator++ Developer’s Guide
  4. .trans file
  5. Format reference

Format reference

Examples

Below is the working example of .trans file :

HTML

columns:

Configuration of the columns.

value : array of object

example:

HTML

colHeaders :

Label of the columns

value : array of string

Example :

HTML

The length of colHeaders must be same with column value.

project:

the object that hold the translation informations

value : object

example :

HTML

project.gameEngine:

Engine description

value : string

project.files:

Enclosure of files data

Value: object

project.files.data:

Two dimensional array representation of rows and columns.

value: two dimensional array of strings

HTML

project.files.context:

Two dimensional array representation of row and their corresponding array of context.

Value : two dimensional array of string

Example :

HTML

project.files[].keyColumn:

key column. Default is 0. Not implemented yet

project.files[].preferredTranslationColumn:

Prefered translation column. Default is null which is automatic. Not implemented yet

Was this article helpful to you? Yes No

How can we help?