[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] Re: ax_prefix_config_h.m4 causes files to be left afte
From: |
Bruno Haible |
Subject: |
Re: [bug-gettext] Re: ax_prefix_config_h.m4 causes files to be left after "make distclean" |
Date: |
Fri, 1 Apr 2011 12:49:28 +0200 |
User-agent: |
KMail/1.9.9 |
[dropping the autoconf list from CC]
David Bruce wrote:
> > I still don't get
> > output of translated strings.
> >
> > {
> > const char *s1, *s2, *s3, *s4;
> > s1 = setlocale(LC_ALL, NULL);
> > s2 = bindtextdomain("tuxmath", "/usr/local/share/locale");
> > s3 = bind_textdomain_codeset("tuxmath", "UTF-8");
> > s4 = textdomain("tuxmath");
> > printf("In InitT4KCommon():\n");
> > printf("setlocale(LC_ALL, \"\") returned: %s\n", s1);
> > printf("bindtextdomain(\"tuxmath\", \"/usr/local/share/locale\")
> > returned: %s\n", s2);
> > printf("bind_textdomain_codeset(\"tuxmath\", \"UTF-8\") returned:
> > %s\n", s3);
> > printf("textdomain(\"tuxmath\") returned: %s\n", s4);
> > printf("gettext(\"Help\"): %s\n\n", gettext("Help"));
> > printf("_(\"Help\"): %s\n\n", _("Help"));
> > }
Please see the gettext FAQ here:
<http://www.gnu.org/software/gettext/FAQ.html#integrating_noop>
Bruno
--
In memoriam Karim Mohammedzadeh
<http://en.wikipedia.org/wiki/Karim_Mohammedzadeh>