#include "support/environment.h"
#include "support/package.h"
+#include <boost/current_function.hpp>
#include <boost/regex.hpp>
using lyx::support::package;
}
char const * works = setlocale(LC_MESSAGES, lang_.c_str());
+ if (!works)
+ lyxerr << "Locale " << lang_ << " could not be set" << std::endl;
// CTYPE controls what getmessage thinks what encoding the po file uses
string oldCTYPE = setlocale(LC_CTYPE, NULL);
setlocale(LC_CTYPE, lang_.c_str());