Translation file format

The translation export and import CSV file consists of a header and translation records in the following formats.

Header

The header contains the following values: RefName,OwnerType,SrType, Id,Revision,<ReferenceLocaleValue>,< LocaleToTranslate>

  • <ReferenceLocaleValue>—Locale of the strings from which to translate, as specified in the Locale to translate from field of the Export Translations dialog box. Example: en-US.
  • <LocaleToTranslate >—Locale to which text strings are being translated, as specified in the Locale to translate field of the Export Translations dialog box. Example: fr-FR.

Example of file header

RefName,OwnerType,SrType,Id,Revision,en-US,fr-FR

Records

Each translation record contains the following fields: <RefName>,<OwnerType>,<SrType, <Id>,<Revision>,<ReferenceLocaleValue>,< LocaleToTranslate>, as described in the following table.

Field Description
RefName RefName of the study object that owns the string.
OwnerType Internal type of the study object that owns the string resource.
SrType Internal type of the field that references the string resource.
Id GUID of the string resource in CSML.
Revision Revision number of the study object for which the text string is defined.
ReferenceLocaleValue Text string in the locale to translate.
LocaleToTranslate Translated text string. This value is empty when you export the file. The translator fills in the value before you import the file.

Note:

The LocaleToTranslate is the only value that may be changed in each record.

Examples of file records

Layout_5fxx,LayoutPlan,ItemCaption,d067b170-8885-11e1-b0c4-0800200c9a66,12, "DOV
      Form","Forme pour la date de visite" Itm_DOB,DateTime,Question,26beca46-663e-4841-ab8b-03ff6b7a78f9,5,"Date of Birth","Date de
      naissance"