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


15.5.9 GNU guile - Scheme

RPMs

guile

File extension

scm

String syntax

"abc"

gettext shorthand

(_ "abc"), _"abc" (GIMP script-fu extension)

gettext/ngettext functions

gettext, ngettext

textdomain

textdomain

bindtextdomain

bindtextdomain

setlocale

(catch #t (lambda () (setlocale LC_ALL "")) (lambda args #f))

Prerequisite

(use-modules (ice-9 format))

Use or emulate GNU gettext

use

Extractor

xgettext -k_

Formatting with positions

Portability

On platforms without gettext, no translation.

po-mode marking

An example is available in the examples directory: hello-guile.