Internationalisation.
[pspp-builds.git] / src / data / settings.c
index 81b67899545eb906295ea2e64c267ef4b9fe59a3..37fda6006ee3e99858abb9c7bbb1b1014cb17ffe 100644 (file)
@@ -25,6 +25,7 @@
 #include "format.h"
 #include "value.h"
 #include "xalloc.h"
+#include <libpspp/i18n.h>
 
 static int viewlength = 24;
 static int viewwidth = 79;
@@ -42,7 +43,7 @@ static int epoch = -1;
 
 static bool errorbreak = false;
 
-static bool scompress = false;
+static bool scompress = true;
 
 static bool undefined = true;
 static double blanks = SYSMIS;
@@ -87,11 +88,13 @@ void
 settings_init (void)
 {
   init_viewport ();
+  i18n_init ();
 }
 
 void
 settings_done (void)
 {
+  i18n_done ();
 }
 
 /* Screen length in lines. */