summaryrefslogtreecommitdiff
path: root/gettext-tools/doc/lang-librep.texi
blob: 12177b7939d9cf449336d86427aa2c6622bad32f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
@c This file is part of the GNU gettext manual.
@c Copyright (C) 1995-2020 Free Software Foundation, Inc.
@c See the file gettext.texi for copying conditions.

@node librep
@subsection librep
@cindex @code{librep} Lisp

@table @asis
@item RPMs
librep 0.15.3 or newer

@item Ubuntu packages
librep16

@item File extension
@code{jl}

@item String syntax
@code{"abc"}

@item gettext shorthand
@code{(_"abc")}

@item gettext/ngettext functions
@code{gettext}

@item textdomain
@code{textdomain} function

@item bindtextdomain
@code{bindtextdomain} function

@item setlocale
---

@item Prerequisite
@code{(require 'rep.i18n.gettext)}

@item Use or emulate GNU gettext
use

@item Extractor
@code{xgettext}

@item Formatting with positions
@code{format "%2$d %1$d"}

@item Portability
On platforms without gettext, no translation.

@item po-mode marking
---
@end table

An example is available in the @file{examples} directory: @code{hello-librep}.