Next: , Previous: Emacs Lisp, Up: List of Programming Languages   [Contents][Index]


15.5.8 librep

RPMs

librep 0.15.3 or newer

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.