>>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> | Any objection to the patch, someone?

Lars> What happens if you put the locale files are somewhere else?

Lars> Is it possible to have this not work by using a non-standard set
Lars> of configure arguments?

Jean-Marc> Actually, yes. If there is no directory
Jean-Marc> $$lyxdir/../locale/, nothing happens. However, you can have
Jean-Marc> problems if you have set up your directories like

Jean-Marc> ./configure --prefix=/usr/share --localedir=/usr/lib/locale

Jean-Marc> /usr/lib/locale/... [the compile time vlue, where lyx.mo
Jean-Marc> files actually are] /usr/share/locale/... [a directory
Jean-Marc> where nothing relevant to lyx exists] /usr/share/lyx/ [the
Jean-Marc> lyx data directory]

Jean-Marc> Since the directory /usr/share/locale/ exists, LyX will not
Jean-Marc> fall back to the compile time value /usr/lib/locale/. So
Jean-Marc> this is indeed a bad case (but one can always set the
Jean-Marc> variable LYX_LOCALEDIR to override this).

Jean-Marc> I do not know of a good way to have this work 100%
Jean-Marc> actually. But I think we need something like that, so that
Jean-Marc> the common case of relocating rpms of osx bundles works out
Jean-Marc> of the box. There is some code in gettext to
Jean-Marc> --enable-reelocatable, but it seems sooo complicated that I
Jean-Marc> did not take a very hard look at it. Maybe I should.

So, Lars, what shall I do? I'd like to resolve this problem and be
able to get 1.3.4 out one of these days...

JMarc

Reply via email to