summaryrefslogtreecommitdiff
path: root/src/tr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tr.c')
-rw-r--r--src/tr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tr.c b/src/tr.c
index eda215664..9b6e7923c 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -1796,6 +1796,9 @@ main (int argc, char **argv)
struct Spec_list *s2 = &buf2;
program_name = argv[0];
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
while ((c = getopt_long (argc, argv, "cdst", long_options,
(int *) 0)) != EOF)