Code

- bindtextdomain for gettext, a few other smale cleanups here and there
[nagiosplug.git] / plugins / check_real.c
index 3e8475a7f729535dd5fff5391241b3e2ca437223..05e39d794eb55a0f7c58ad7b43c8dd0053545e6c 100644 (file)
@@ -61,6 +61,10 @@ main (int argc, char **argv)
        char buffer[MAX_INPUT_BUFFER];
        char *status_line = NULL;
 
+       setlocale (LC_ALL, "");
+       bindtextdomain (PACKAGE, LOCALEDIR);
+       textdomain (PACKAGE);
+
        if (process_arguments (argc, argv) != OK)
                usage (_("Invalid command arguments supplied\n"));