Code

- bindtextdomain for gettext, a few other smale cleanups here and there
[nagiosplug.git] / plugins / check_nagios.c
index 5b21ba1d93ce269042cf066cc4fd272de54ca95f..27bb0103d3fcf446ea950e5bf873c9981c813863 100644 (file)
@@ -56,6 +56,10 @@ main (int argc, char **argv)
        char *procargs;
        int pos, cols;
 
+       setlocale (LC_ALL, "");
+       bindtextdomain (PACKAGE, LOCALEDIR);
+       textdomain (PACKAGE);
+
        if (process_arguments (argc, argv) == ERROR)
                usage (_("Could not parse arguments\n"));