[Glade-users] Glade UI in French?

Pascal p.p14 at orange.fr
Sat May 3 15:55:45 UTC 2014


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.

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


Le 2 mai 2014 à 02:09, Juan Pablo Ugarte <juanpablougarte at gmail.com> a écrit :

> On Thu, 2014-05-01 at 13:11 +0200, Pascal wrote:
>> Hello JP.
>> 
>> My settings are:
>> LANG=fr_FR.UTF-8
>> 
>> My config.h is:
>> /* config.h.  Generated from config.h.in by configure.  */
>> /* config.h.in.  Generated from configure.ac by autoheader.  */
>> 
>> /* Define to 1 if translation of program messages to the user's native
>>   language is requested. */
>> #define ENABLE_NLS 1
>> 
>> /* Name of the gettext package. */
>> #define GETTEXT_PACKAGE "glade"
>> 
>> But in share/locale/fr/LC_MESSAGE, I haven’t any glade.mo files
>> The makefile in glade-3.10.2/po needs LINGUAS variable.
>> This variable is not set on MacOS.
>> How can I configure it?
> 
> hmm I do not know why you do not have it, but try setting it to fr and
> see if the French mo are generated, if not you can always copy them
> manually from some linux package :)
> 



More information about the Glade-users mailing list