gettext: Scheme
1
1 15.5.9 GNU guile - Scheme
1 -------------------------
1
1 RPMs
1 guile
1
1 File extension
1 ‘scm’
1
1 String syntax
1 ‘"abc"’
1
1 gettext shorthand
1 ‘(_ "abc")’, ‘_"abc"’ (GIMP script-fu extension)
1
1 gettext/ngettext functions
1 ‘gettext’, ‘ngettext’
1
1 textdomain
1 ‘textdomain’
1
1 bindtextdomain
1 ‘bindtextdomain’
1
1 setlocale
1 ‘(catch #t (lambda () (setlocale LC_ALL "")) (lambda args #f))’
1
1 Prerequisite
1 ‘(use-modules (ice-9 format))’
1
1 Use or emulate GNU gettext
1 use
1
1 Extractor
1 ‘xgettext -k_’
1
1 Formatting with positions
1 —
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-guile’.
1