gettext: librep
1
1 15.5.8 librep
1 -------------
1
1 RPMs
1 librep 0.15.3 or newer
1
1 File extension
1 ‘jl’
1
1 String syntax
1 ‘"abc"’
1
1 gettext shorthand
1 ‘(_"abc")’
1
1 gettext/ngettext functions
1 ‘gettext’
1
1 textdomain
1 ‘textdomain’ function
1
1 bindtextdomain
1 ‘bindtextdomain’ function
1
1 setlocale
1 —
1
1 Prerequisite
1 ‘(require 'rep.i18n.gettext)’
1
1 Use or emulate GNU gettext
1 use
1
1 Extractor
1 ‘xgettext’
1
1 Formatting with positions
1 ‘format "%2$d %1$d"’
1
1 Portability
1 On platforms without gettext, no translation.
1
1 po-mode marking
1 —
1
1 An example is available in the ‘examples’ directory: ‘hello-librep’.
1