1@c This file is part of the GNU gettext manual. 2@c Copyright (C) 1995-2020 Free Software Foundation, Inc. 3@c See the file gettext.texi for copying conditions. 4 5@node Common Lisp 6@subsection GNU clisp - Common Lisp 7@cindex Common Lisp 8@cindex Lisp 9@cindex clisp 10 11@table @asis 12@item RPMs 13clisp 2.28 or newer 14 15@item Ubuntu packages 16clisp 17 18@item File extension 19@code{lisp} 20 21@item String syntax 22@code{"abc"} 23 24@item gettext shorthand 25@code{(_ "abc")}, @code{(ENGLISH "abc")} 26 27@item gettext/ngettext functions 28@code{i18n:gettext}, @code{i18n:ngettext} 29 30@item textdomain 31@code{i18n:textdomain} 32 33@item bindtextdomain 34@code{i18n:textdomaindir} 35 36@item setlocale 37automatic 38 39@item Prerequisite 40--- 41 42@item Use or emulate GNU gettext 43use 44 45@item Extractor 46@code{xgettext -k_ -kENGLISH} 47 48@item Formatting with positions 49@code{format "~1@@*~D ~0@@*~D"} 50 51@item Portability 52On platforms without gettext, no translation. 53 54@item po-mode marking 55--- 56@end table 57 58An example is available in the @file{examples} directory: @code{hello-clisp}. 59