Code

- bindtextdomain for gettext, a few other smale cleanups here and there
[nagiosplug.git] / plugins / urlize.c
index f4bc67b39c1f9492261610fe314c0a28eb6e0a89..45766d0c43697aa6f5e105a4b7e0f3f559336b35 100644 (file)
@@ -45,6 +45,10 @@ main (int argc, char **argv)
                {0, 0, 0, 0}
        };
 
+       setlocale (LC_ALL, "");
+       bindtextdomain (PACKAGE, LOCALEDIR);
+       textdomain (PACKAGE);
+
        while (1) {
                c = getopt_long (argc, argv, "+hVu:", longopts, &option);