#include <config.h>
#endif
+#include <gst/gst-i18n-plugin.h>
+
#include "gstcurlbasesink.h"
#include "gstcurltlssink.h"
#include "gstcurlhttpsink.h"
static gboolean
plugin_init (GstPlugin * plugin)
{
+#ifdef ENABLE_NLS
+ 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 */
if (!gst_element_register (plugin, "curlhttpsink", GST_RANK_NONE,
GST_TYPE_CURL_HTTP_SINK))
#include <config.h>
#endif
+#include <gst/gst-i18n-plugin.h>
+
#include "gstcurlhttpsrc.h"
#include "gstcurlqueue.h"
#include "gstcurldefaults.h"