guile-devel
[Top][All Lists]
Advanced

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

Re: i18n, gettext support


From: Bruno Haible
Subject: Re: i18n, gettext support
Date: Thu, 2 Sep 2004 18:06:43 +0200
User-agent: KMail/1.5

Jan Nieuwenhuizen wrote:
> Thanks, these should be fixed, see attached.

The autoconf test is still broken: AC_CHECK_LIB(intl, gettext) doesn't work.
Also your patch uses SCM_STRING_CHARS, which is deprecated and (as far as
I can test) doesn't work (probably because it returns a not NUL terminated
string).

Find here an extended patch. It implements the complete functionality,
including plural handling, different locale categories and access to
bind_textdomain_codeset (which will probably be important for Gtk/GNOME
applications).


ChangeLog:
2004-09-02  Bruno Haible  <address@hidden>

        * configure.in: Add AM_GNU_GETTEXT invocation.

libguile/ChangeLog:
2004-09-02  Jan Nieuwenhuizen  <address@hidden>
            Bruno Haible  <address@hidden>

        * i18n.h: New file.
        * i18n.c: New file.
        * init.c: Include libguile/i18n.h.
        (scm_init_guile_1): Add call to scm_init_i18n().
        * Makefile.am (libguile_la_SOURCES): Add i18n.c.
        (DOT_X_FILES): Add i18n.x.
        (DOT_DOC_FILES): Add i18n.doc.
        (libguile_la_LDFLAGS): Add @address@hidden
        (modinclude_HEADERS): Add i18n.h.

Attachment: guile-diffs
Description: Text Data


reply via email to

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