3 // Example for use of GNU gettext.
4 // Copyright (C) 2003 Free Software Foundation, Inc.
5 // This file is in the public domain.
7 // Source code of the PHP program.
9 setlocale (LC_ALL
, "");
10 textdomain ("hello-php");
11 bindtextdomain ("hello-php", "@localedir@");
13 echo _("Hello, world!");
15 echo printf (_("This program is running as process number %d."),