3 // Example for use of GNU gettext.
4 // This file is in the public domain.
6 // Source code of the PHP program.
8 setlocale (LC_ALL
, "");
9 textdomain ("hello-php");
10 bindtextdomain ("hello-php", "@localedir@");
12 echo _("Hello, world!");
14 echo printf (_("This program is running as process number %d."),