Gettext/Common-Lisp
From Get docs
Next: clisp C, Previous: Scheme, Up: List of Programming Languages [Contents][Index]
15.5.7 GNU clisp - Common Lisp
- RPMs
- clisp 2.28 or newer
- Ubuntu packages
- clisp
- File extension
lisp
- String syntax
"abc"
- gettext shorthand
(_ "abc")
,(ENGLISH "abc")
- gettext/ngettext functions
i18n:gettext
,i18n:ngettext
- textdomain
i18n:textdomain
- bindtextdomain
i18n:textdomaindir
- setlocale
- automatic
- Prerequisite
- —
- Use or emulate GNU gettext
- use
- Extractor
xgettext -k_ -kENGLISH
- Formatting with positions
format "~1@*~D ~0@*~D"
- Portability
- On platforms without gettext, no translation.
- po-mode marking
- —
An example is available in the examples
directory: hello-clisp
.