On Thu, Feb 10, 2011 at 11:44:13PM +0100, Tommaso Cucinotta wrote:
> Il 09/02/2011 09:52, Enrico Forestieri ha scritto:
> >On Tue, Feb 08, 2011 at 10:53:34PM +0100, Pavel Sanda wrote:
> >>having cs_CZ locales setup on system level sometimes locales does not work
> >>either when make install is not done or something like that... i'm not able 
> >>to
> >>give exact recipy and frankly even wont to touch it :)
> >If you run lyx in place (without installing it) and want cs translations,
> >do the following:
> >
> >$ cd<lyx-top-srcdir>
> >$ mkdir -p locale/cs/LC_MESSAGES
> >$ ln -s ../../../po/cs.gmo locale/cs/LC_MESSAGES/lyx<suffix>.mo
> Thanks. I added a variant of this trick in r37589, that makes the
> autotests work also when there is no LyX installed at all on the system.
> I didn't apply the<suffix>  part, as I never configured with
> --with-version-suffix. Where is such suffix is stored, in a Makefile var ?

You can find it in config.h:

/* Program version suffix */
#define PROGRAM_SUFFIX "-2.0"


but you can also directly use PACKAGE.mo, again getting PACKAGE from
config.h:

/* Name of package */
#define PACKAGE "lyx-2.0"


as it already contains the suffix, if specified.

-- 
Enrico

Reply via email to