* i18n.c: Handle --disable-nls (thanks Bruno).
[bpt/guile.git] / libguile / i18n.h
1 /* classes: h_files */
2
3 #ifndef SCM_I18N_H
4 #define SCM_I18N_H
5
6 /* Copyright (C) 2004 Free Software Foundation, Inc.
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */
22
23 #include "libguile/__scm.h"
24
25 SCM_API SCM scm_gettext (SCM msgid, SCM domainname, SCM category);
26 SCM_API SCM scm_ngettext (SCM msgid, SCM msgid_plural, SCM n, SCM domainname, SCM category);
27 SCM_API SCM scm_textdomain (SCM domainname);
28 SCM_API SCM scm_bindtextdomain (SCM domainname, SCM directory);
29 SCM_API SCM scm_bind_textdomain_codeset (SCM domainname, SCM encoding);
30
31 SCM_API int scm_i_to_lc_category (SCM category, int allow_lc_all);
32
33 SCM_API void scm_init_i18n (void);
34
35 #endif /* SCM_I18N_H */
36
37 /*
38 Local Variables:
39 c-file-style: "gnu"
40 End:
41 */