summaryrefslogtreecommitdiff
path: root/src/printenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/printenv.c')
-rw-r--r--src/printenv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/printenv.c b/src/printenv.c
index 9e13aa3fe..6bc45c1fa 100644
--- a/src/printenv.c
+++ b/src/printenv.c
@@ -83,6 +83,9 @@ main (int argc, char **argv)
int exit_status;
program_name = argv[0];
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
while ((c = getopt_long (argc, argv, "", long_options, (int *) 0)) != EOF)
{