4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
8 * \author Jean-Marc Lasgouttes
10 * Full author contact details are available in file CREDITS.
17 * Native Language Support
19 * The general idea is that any string that should be translated is handled
23 * Static strings are special, obviously and must be flagged as follows:
24 * static str = N_("string");
26 * And wherever they are used:
29 * Every file where there are strings needs:
30 * #include "gettext.h"
32 * Remember to mention each of these files in "po/POFILES.in"
34 * The main() needs a locale_init() and a gettext_init() in the beginning.
38 * General translation notes:
39 * Commands/options are not translated
40 * Debug messages are not translated
41 * Panic/fatal (that should not happen) messages need not be translated
49 string const _(string const &);
54 //# define _(str) (str)
58 # define N_(str) (str) // for detecting static strings