autotools - How can I use gettext before install? -


to use gettext, need call bindtextdomain(), providing patch installed .mo files. instance:

bindtextdomain("myappname", "/opt/gnome/share/locale"); 

of course, use defines there, set autotools build files.

however, i'd use gettext before running "make install", because want use translations in "make check" tests.

the path bindtextdomain() contain .mo files in structure this:

de/lc_messages/myappname.mo fr/lc_messages/myappname.mo 

is there easy way create structure of generated files in local build, can pass local path bindtextdomain() during "make check"?


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -