Index: src/gpg-error.c
--- src/gpg-error.c.orig	2019-01-16 08:43:46.000000000 +0100
+++ src/gpg-error.c	2019-12-26 11:28:12.021064000 +0100
@@ -86,11 +86,15 @@
   locale_dir = get_locale_dir ();
   if (locale_dir)
     {
+#ifdef ENABLE_NLS
       bindtextdomain (PACKAGE, locale_dir);
+#endif
       drop_locale_dir (locale_dir);
     }
+#ifdef ENABLE_NLS
   textdomain (PACKAGE);
 #endif
+#endif
 }
 
 
