GNU gettext utilities: librep
From Get docs
Gettext/docs/latest/librep
Next: Ruby, Previous: Emacs Lisp, Up: List of Programming Languages [Contents][Index]
15.5.10 librep
- RPMs
- librep 0.15.3 or newer
- Ubuntu packages
- librep16
- File extension
jl
- String syntax
"abc"
- gettext shorthand
(_"abc")
- gettext/ngettext functions
gettext
- textdomain
textdomain
function- bindtextdomain
bindtextdomain
function- setlocale
- —
- Prerequisite
(require 'rep.i18n.gettext)
- Use or emulate GNU gettext
- use
- Extractor
xgettext
- Formatting with positions
format "%2$d %1$d"
- Portability
- On platforms without gettext, no translation.
- po-mode marking
- —
An example is available in the examples
directory: hello-librep
.