diff --git a/src/sysprof/sysprof.c b/src/sysprof/sysprof.c index 63b76e74..2ec184de 100644 --- a/src/sysprof/sysprof.c +++ b/src/sysprof/sysprof.c @@ -16,6 +16,8 @@ * along with this program. If not, see . */ +#include "config.h" + #include #include #include @@ -31,6 +33,12 @@ main (gint argc, sysprof_clock_init (); + /* Set up gettext translations */ + setlocale (LC_ALL, ""); + bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + textdomain (GETTEXT_PACKAGE); + app = sysprof_application_new (); ret = g_application_run (G_APPLICATION (app), argc, argv);