Jean-Marc Lasgouttes wrote:
Enrico> And we were both right, of course, only somewhat blind...
Enrico> Please, have a look at the attached patch... How
Enrico> embarassing... there even is a LYX_LOCALEDIR env var fitting
Enrico> the purpose.
Embarrassing indeed (for me maybe). Shouldn't you use
+ return "locale/";
instead?
The locale dir is relative to the directory holding the LyX executable, so
Enrico's fix (which presumably is tested ;-)) looks right to me:
Unix:
/usr/bin/lyx.exe
/usr/locale/
Windows:
C:\Program Files\LyX\bin\lyx.exe
C:\Program Files\LyX\Resources\locale\
Can't comment on the Mac.
Angus