Merge commit '5b7632331e7551ac202bbaba37c572b96a791c6e'
[bpt/guile.git] / libguile / gettext.h
1 /* classes: h_files */
2
3 #ifndef SCM_GETTEXT_H
4 #define SCM_GETTEXT_H
5
6 /* Copyright (C) 2004, 2006, 2008 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 License
10 * as published by the Free Software Foundation; either version 3 of
11 * the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful, but
14 * 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., 51 Franklin Street, Fifth Floor, Boston, MA
21 * 02110-1301 USA
22 */
23
24 #include "libguile/__scm.h"
25
26 SCM_API SCM scm_gettext (SCM msgid, SCM domainname, SCM category);
27 SCM_API SCM scm_ngettext (SCM msgid, SCM msgid_plural, SCM n, SCM domainname, SCM category);
28 SCM_API SCM scm_textdomain (SCM domainname);
29 SCM_API SCM scm_bindtextdomain (SCM domainname, SCM directory);
30 SCM_API SCM scm_bind_textdomain_codeset (SCM domainname, SCM encoding);
31
32 SCM_INTERNAL int scm_i_to_lc_category (SCM category, int allow_lc_all);
33
34 SCM_INTERNAL void scm_init_gettext (void);
35
36 #endif /* SCM_GETTEXT_H */
37
38 /*
39 Local Variables:
40 c-file-style: "gnu"
41 End:
42 */