2 * \file src/gettext.cpp
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Lars Gullik Bjønnes
7 * \author Jean-Marc Lasgouttes
9 * Full author contact details are available in file CREDITS.
14 #include "support/gettext.h"
29 Messages
& getLyXMessages()
31 static Messages lyx_messages
;
39 docstring
const _(string
const & str
)
41 return getLyXMessages().get(str
);
49 # ifdef HAVE_LC_MESSAGES
50 setlocale(LC_MESSAGES
, "");
52 setlocale(LC_CTYPE
, "");
53 setlocale(LC_NUMERIC
, "C");
60 setlocale(LC_NUMERIC
, "C");