Translation File

Translation file is a Unicode text file that contains the translation data of the dictionary. TextDictionary dictionary component uses this format. The file is a Unicode text file (UTF-8, UTF-16 or UCS-2) where every line contains data of one string. If UTF-16 or UCS-2 is used a byte order mark (BOM) is required. The format of the row is:

Native<tab> Language1<tab> Language2<tab> ... LanguageN<cr><lf>

Where

<tab> is the Tab character, 0x0009
<cr> is the Carriage Return character, 0x000D
<lf> is the Line Feed character, 0x000A

If your strings contain any of the above characters you must code the strings.

Character Code Java Unicode
Tab #T \t \u0009
Carriage Return #C \r \u000d
LineFeed #L \n \u000a
# ## # \u0023

Use Language Manager or any Unicode text editor to create and edit translation files.

An example:

Color    Color	Väri
This is a sample	This is a sample    Tämä on koe
Open file	Open file    Avaa tiedosto