• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@c This file is part of the GNU gettext manual.
2@c Copyright (C) 1995-2020 Free Software Foundation, Inc.
3@c See the file gettext.texi for copying conditions.
4
5@node librep
6@subsection librep
7@cindex @code{librep} Lisp
8
9@table @asis
10@item RPMs
11librep 0.15.3 or newer
12
13@item Ubuntu packages
14librep16
15
16@item File extension
17@code{jl}
18
19@item String syntax
20@code{"abc"}
21
22@item gettext shorthand
23@code{(_"abc")}
24
25@item gettext/ngettext functions
26@code{gettext}
27
28@item textdomain
29@code{textdomain} function
30
31@item bindtextdomain
32@code{bindtextdomain} function
33
34@item setlocale
35---
36
37@item Prerequisite
38@code{(require 'rep.i18n.gettext)}
39
40@item Use or emulate GNU gettext
41use
42
43@item Extractor
44@code{xgettext}
45
46@item Formatting with positions
47@code{format "%2$d %1$d"}
48
49@item Portability
50On platforms without gettext, no translation.
51
52@item po-mode marking
53---
54@end table
55
56An example is available in the @file{examples} directory: @code{hello-librep}.
57