1 { Example for use of GNU gettext.
2 Copyright (C) 2003 Free Software Foundation, Inc.
3 This file is in the public domain.
5 Source code of the Pascal program. }
10 uses gettext
, { translateresourcestrings }
15 hello_world
= 'Hello, world!';
16 running_as
= 'This program is running as process number %d.';
19 translateresourcestrings({$i %LOCALEDIR%}+'/%s/LC_MESSAGES/hello-pascal.mo');
21 writeln(format(running_as
,[getpid
]));