Skip to main content

Plain Text format (.txt, .text)

The plain text format reads generic .txt documents and emits the text content as translatable blocks. It is the fallback for files that carry no markup or structure of their own — release notes, prompts, word lists, or any free-form text that needs translating.

By default the reader segments by line: each non-empty line becomes one block, and blank lines and the original line endings (LF, CRLF, or bare CR) are preserved as skeleton so the document round-trips after merge. Switching to paragraph mode groups runs of lines separated by blank lines into a single block, which suits prose where sentences span several wrapped lines. This mirrors Okapi's plain-text filter.

IDplaintext
SourceBuilt-in
Extensions.txt, .text
MIME Typestext/plain
CapabilitiesRead + Write

Parameters

ParameterTypeDefaultDescription
segmentByLinebooleantrueIf true, each line becomes a separate block. If false, paragraphs (separated by blank lines) are blocks.

Configure these parameters interactively and copy the YAML on the Format Reference.

Examples

Paragraph mode

Group wrapped lines into paragraph blocks instead of one block per line.

segmentByLine: false

Processing notes

  • LF, CRLF, and bare CR are all recognised as line terminators and preserved.

  • Blank lines emit a non-translatable data part; they are never extracted as blocks.

← Back to the Format Reference