[Glade-users] Glade UI in French?

Pascal p.p14 at orange.fr
Mon May 5 19:22:58 UTC 2014


Hello Tristan,

I’ve followed usual instructions : configure, make, make install.
But answering your question, I've just realized that I built an old version now of Glade: 3.10.2
Because my version of GTK+ is also quite old: 3.4.1 and intltool 0.41.1.

Maybe it’s the explanation or a part of the explanation.

I hope I will be able to install soon a newer version of GTK+ but it’s not a piece of cake on MacOS.

Thanks, Pascal.
http://blady.pagesperso-orange.fr


Le 3 mai 2014 à 19:14, Tristan Van Berkom <tristan at upstairslabs.com> a écrit :

> On Sat, 2014-05-03 at 17:55 +0200, Pascal wrote:
>> Thanks for your suggestion.
>> While rebuilding Glade with LINGUAS set to fr, I discovered that all languages files are already installed in:
>> /usr/local/lib/locale/fr/LC_MESSAGES
>> rather than:
>> /usr/local/share/locale/fr/LC_MESSAGES
>> 
>> In the glade.../po/Makefile, I see:
>> DATADIRNAME = lib
>> itlocaledir = $(prefix)/$(DATADIRNAME)/locale
>> ...
>>            dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
>> ... 
>> 	    $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
>> 
>> Why not share instead of lib?
>> 
>> When I manually copy glade.mo in /usr/local/share/locale/fr/LC_MESSAGES it is then ok.
> 
> Are you building an official Glade release tarball which successfully
> passed distcheck ?
> 
> Note that the po/Makefile.in is automatically generated by intltool
> which takes care of all of those mechanics and "gets it right" - I do
> not. expect that it will "just work" unless Glade was properly built.
> 
> It should in theory work fine if you have a distribution tarball and
> it is installed with 'make' and then 'make install' - it should also
> work correctly if you built from git and ran:
>  `./autogen.sh --prefix=/usr'
> before running make and make install.
> 
> If you did build Glade properly from scratch and the makefile still
> tries to install translations in the wrong place, then understanding
> exactly how you installed Glade might shed some light on exactly what
> bug report should be filed against upstream intltool.
> 
> Cheers,
>    -Tristan


More information about the Glade-users mailing list