From 6fc4ae7a28f4603daee61672949835aa6e6059ff Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 12 Mar 1996 23:49:29 +0000 Subject: (main): Initialize for internationalized message support: call setlocale, bindtextdomain, and textdomain. --- src/id.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/id.c') diff --git a/src/id.c b/src/id.c index 5864415d8..a03ba6e68 100644 --- a/src/id.c +++ b/src/id.c @@ -101,6 +101,9 @@ main (int argc, char **argv) int optc; program_name = argv[0]; + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); while ((optc = getopt_long (argc, argv, "gnruG", longopts, (int *) 0)) != EOF) -- cgit v1.2.3-54-g00ecf