diff --git a/e_mod_main.c b/e_mod_main.c index 0c07788..21e0011 100644 --- a/e_mod_main.c +++ b/e_mod_main.c @@ -417,7 +417,10 @@ EAPI E_Module_Api e_modapi = { EAPI void * e_modapi_init (E_Module * m) { - bindtextdomain (PACKAGE, LOCALEDIR); + char buf[4096]; + + snprintf (buf, sizeof (buf), "%s/locale", e_module_dir_get (m)); + bindtextdomain (PACKAGE, buf); bind_textdomain_codeset (PACKAGE, "UTF-8"); conf_box_edd = E_CONFIG_DD_NEW ("Mail_Box_Config", Config_Box);