bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] How to test uninstalled program?


From: Bruno Haible
Subject: Re: [bug-gettext] How to test uninstalled program?
Date: Mon, 12 Sep 2011 01:24:29 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Reuben Thomas wrote:
> When I update a translation string in, say, GNU hello, set my locale
> appropriately, and re-make the program, then run it, I still get the
> old translation strings installed on the system. What do I need to do
> to get the strings from my build tree?

The easiest way is to do "cd po; make install".

The second easiest say is to run the "msgfmt -c" command with appropriate
arguments that will install just the one message catalog that you have
been changing. For example
  msgfmt -c -o /usr/local/share/locale/eo/LC_MESSAGES/hello.mo po/eo.po

Bruno
-- 
In memoriam Georgi Markov <http://en.wikipedia.org/wiki/Georgi_Markov>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]