--- src/main.c.bak 2007-11-20 07:05:11.000000000 +0100 +++ src/main.c 2007-12-27 13:47:43.000000000 +0100 @@ -145,6 +145,12 @@ main (int argc, char **argv) g_type_init (); gtk_init (&argc, &argv); +#ifdef ENABLE_NLS + bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + textdomain (GETTEXT_PACKAGE); +#endif + context = g_option_context_new (_("PolicyKit GNOME session daemon")); g_option_context_add_main_entries (context, entries, NULL); g_option_context_parse (context, &argc, &argv, NULL); --- examples/polkit-gnome-example.c.bak 2007-11-20 21:44:50.000000000 +0100 +++ examples/polkit-gnome-example.c 2007-12-27 13:49:22.000000000 +0100 @@ -211,6 +211,12 @@ main (int argc, char **argv) gtk_init (&argc, &argv); +#ifdef ENABLE_NLS + bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + textdomain (GETTEXT_PACKAGE); +#endif + pkgc = polkit_gnome_context_get (NULL); loop = g_main_loop_new (NULL, FALSE);