#include "support/lstrings.h"
#include "support/Messages.h"
+#include "support/Package.h"
#ifdef HAVE_LOCALE_H
# include <locale.h>
setlocale(LC_MESSAGES, "");
# endif
setlocale(LC_CTYPE, "");
- Messages::init();
+ if (support::packageInitialized()) {
+ Messages::init();
+ }
#endif
setlocale(LC_NUMERIC, "C");
}