diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/inferno/man6/translate.6 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/inferno/man6/translate.6')
| -rw-r--r-- | static/inferno/man6/translate.6 | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/static/inferno/man6/translate.6 b/static/inferno/man6/translate.6 new file mode 100644 index 00000000..f0f8895c --- /dev/null +++ b/static/inferno/man6/translate.6 @@ -0,0 +1,55 @@ +.TH TRANSLATE 6 +.SH NAME +translate \- translation dictionary +.SH SYNOPSIS +.BI /locale/dict/ app +.br +.BI /locale/ locale /dict/ app +.SH DESCRIPTION +A dictionary file provides translation text that applications can access using +.IR translate (2). +Each is a Unicode file containing a set of translations, one per line, +each line having the following syntax: +.IP +.EX +"\fIsource-text\fP"\fR [\fP (\fInote-text\fP)\fR ] [ \fP="\fItarget-text\fP" \fR ] \fP +.EE +.PP +which defines +.I target-text +as the translation for +.I source-text . +A missing translation clause defines the identity translation. +The optional +.I note-text +qualifies the context of the +.IR source-text , +when the same phrase in the source language might +translate to different phrases in the target language, +or to distinguish a particular context in the program (eg, particular menus): +For example: +.IP +.EX +"Times"(newspaper) = "La Republicca" +"Times"(timetable) = "L'orario" +"ABC"(keypad) = "abc" +.EE +.PP +Empty lines and lines beginning with +.B # +are ignored. +The quoted strings can contain the Limbo escape sequences +.B "\en" +(newline), +.B "\et" +(tab), +.B "\er" +(carriage return), +and +.B "\e\e" +(backslash). +.PP +The default locale is set by binding one or more specific locales onto +.BR /locale/dict . +.SH FILES +.B /locale/*/dict/* |
