summaryrefslogtreecommitdiff
path: root/gettext-tools/examples/hello-librep/hello.jl.in
blob: 2d321ca4eb5b6f968dde246fb77bf12c51e62e4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#| Example for use of GNU gettext.
   This file is in the public domain.

   Source code of the librep program.
|#

(require 'rep.i18n.gettext)

(textdomain "hello-librep")
(bindtextdomain "hello-librep" "@localedir@")

(write standard-output (_ "Hello, world!"))
(write standard-output "\n")
(format standard-output (_ "This program is running as process number %d.")
                        (process-id))
(write standard-output "\n")