summaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test.c b/src/test.c
index 512ccfb5e..face6a5b2 100644
--- a/src/test.c
+++ b/src/test.c
@@ -1065,6 +1065,9 @@ main (int margc, char **margv)
return (test_error_return);
#else /* TEST_STANDALONE */
program_name = margv[0];
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
#endif /* TEST_STANDALONE */
argv = margv;