Re: Glade UI in French?
Pascal <[email protected]> Tue, 26 Aug 2014 21:42:12 +0200
| Newsgroups | gmane.comp.gnome.glade.user |
|---|---|
| Message-ID | <[email protected]> |
Hello again, I’ve build now native version of GTK+ 3.10 on MacOS through GTK-OSX: http://www.gtk.org/download/macos.php and then Glade 3.16.1: http://ftp.gnome.org/pub/GNOME/sources/glade/3.16/glade-3.16.1.tar.xz ./configure --prefix /Users/blady/gtk/inst --libdir '/Users/blady/gtk/inst/lib' --disable-scrollkeeper make make install I confirm that with this version glade.mo is installed in the following directory for example with French locale file: $prefix/lib/locale/fr/LC_MESSAGES and not in: $prefix/share/locale/fr/LC_MESSAGES as it is expected by glade. HTH, Pascal. http://blady.pagesperso-orange.fr Le 5 mai 2014 à 21:22, Pascal <[email protected]> a écrit : > 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 <[email protected]> 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 > _______________________________________________ > Glade-users maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/glade-users _______________________________________________ Glade-users maillist - [email protected] http://lists.ximian.com/mailman/listinfo/glade-users