Translation options

Top  Previous  Next

All the messages, buttons and titles under the template control that the user will see, are stored by default in a text file called FullRecord.TRN in the %ClarionRoot\LIBSRC folder.

 

The inspection window itself is stored into the FRWindow.TRN file in the same folder.

 

Beware: If you edit the window structure with the Clarion window editor you will loose some important formatting elements for the list box. Keep the original structure at hand so you can restore it to the source, after you did your custom editing.

 

In the %ClarionRoot\3RDPARTY\EXAMPLES\FULLRECORD 2 folder you will find several TRN files:

FRENG.TRN English

FRFRA.TRN French (Thanks to Jean-Pierre GUTSATZ)

FRSPA.TRN Spanish

FRPOR.TRN Portuguese (Thanks to Gustavo Pinsard)

FRGER.TRN German (Thanks to Guenter Lamping)

 

If you want to switch your output language, just select a different file in the "general" tab, "Translation file" setting in the global area (See General Tab).

The file consist in a series of equates. Don't delete any of them, nor change its names. To customize your translation just change the text between single quotes.

 

For example, this entry from the FRENG.TRN file:

 

JALInspectTitle1   EQUATE('Field')

 

This is the title of the first column of the inspection window.

In the FRSPA.TRN file:

 

JALInspectTitle1   EQUATE('Campo')

 

If you do a translation to another language and care to share with us, we'll include it in the next revision, just Contact us.