Hello, the following patch fixes for me bug http://bugzilla.lyx.org/show_bug.cgi?id=2738 .
std::locale loc(""); line should be placed somewhere else, but as i'm not much familiar with the code structure, i dont know where will be the best place for it. Pavel
--- work/lyx-1.5.0beta3/src/frontends/controllers/frontend_helpers.cpp 2007-04-29 20:17:15.000000000 +0200 +++ /trash/lyx-1.5.0beta3/src/frontends/controllers/frontend_helpers.cpp 2007-05-30 01:27:22.000000000 +0200 @@ -42,6 +42,8 @@ #include <boost/cregex.hpp> #include <fstream> +#include <locale> + using std::string; using std::vector; using std::pair; @@ -1107,7 +1109,8 @@ public: bool operator()(LanguagePair const & lhs, LanguagePair const & rhs) const { - return lhs.first < rhs.first; + std::locale loc(""); + return loc(lhs.first,rhs.first); } };