#ifndef __STDPLUGINS-INTL_H__ #define __STDPLUGINS-INTL_H__ #include #include "libgimp/gimpintl.h" #ifdef HAVE_LC_MESSAGES #define INIT_I18N() \ setlocale(LC_MESSAGES, ""); \ bindtextdomain("gimp-std-plugins", LOCALEDIR); \ textdomain("gimp-std-plugins") #else #define INIT_I18N() \ bindtextdomain("gimp-std-plugins", LOCALEDIR); \ textdomain("gimp-std-plugins") #endif #define INIT_I18N_UI() \ gtk_set_locale(); \ setlocale (LC_NUMERIC, "C"); \ INIT_I18N(); #endif /* __STDPLUGINS-INTL_H__ */