From fe9db1dd2f68b0f7a2949de02e5778873d5c15b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 25 Apr 2012 10:25:51 +0200 Subject: sndio: Fix i18n initialization --- ext/sndio/gstsndio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext/sndio') diff --git a/ext/sndio/gstsndio.c b/ext/sndio/gstsndio.c index d52a4242d..af8252ec0 100644 --- a/ext/sndio/gstsndio.c +++ b/ext/sndio/gstsndio.c @@ -37,8 +37,10 @@ plugin_init (GstPlugin * plugin) GST_DEBUG_CATEGORY_INIT (gst_sndio_debug, "sndio", 0, "sndio elements"); #ifdef ENABLE_NLS - setlocale (LC_ALL, ""); + GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, + LOCALEDIR); bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); #endif /* ENABLE_NLS */ return TRUE; -- cgit v1.2.1