Haiku catkeys

Added in version 1.8.

Localisation for the Haiku operating system is done with a file format called catkeys. It is a bilingual file format.

The is a tab separated value (TSV) file, where each line represents a translatable unit. A line consists of four elements:




The source text (in English)


The context of where the source text is used.


An additional remark by the developer, that gives a hint to the translator. Within the context of this toolkit, this is stored as the note of the unit.


The target text

The first line of the file is the header file, with four tab separated values:

The checksum is calculated by an algorithm that hashes the source, context and remark values of all units. The target text is not relevant for the checksum algorithm.