3 * Copyright 2002 the LyX Team
4 * Read the file COPYING
6 * \author Lars Gullik Bjønnes
7 * \author Jean Marc Lasgouttes
15 #include "support/filetools.h"
16 #include "support/os.h"
18 int main(int argc, char * argv[])
20 os::init(&argc, &argv);
22 // lyx_localedir is used by gettext_init() is we have
23 // i18n support built-in
24 string lyx_localedir = GetEnvPath("LYX_LOCALEDIR");
25 if (lyx_localedir.empty())
26 lyx_localedir = LOCALEDIR;
28 // initialize for internationalized version *EK*
30 gettext_init(lyx_localedir);