+2005-01-20 Bruno Haible <bruno@clisp.org>
+
+ * gettext.texi (Scheme): Correct information about setlocale.
+
2005-01-16 Bruno Haible <bruno@clisp.org>
Support for Scheme.
@code{bindtextdomain}
@item setlocale
-automatic
+@code{(catch #t (lambda () (setlocale LC_ALL "")) (lambda args #f))}
@item Prerequisite
@code{(use-modules (ice-9 format))}
+2005-01-20 Bruno Haible <bruno@clisp.org>
+
+ * hello-guile/hello.scm: Invoke setlocale. Fix bindtextdomain call.
+
2005-01-16 Bruno Haible <bruno@clisp.org>
Support for Scheme.
(use-modules (ice-9 format))
+(catch #t (lambda () (setlocale LC_ALL "")) (lambda args #f))
(textdomain "hello-guile")
-(bindtextdomaindir "hello-guile" "@localedir@")
+(bindtextdomain "hello-guile" "@localedir@")
(define _ gettext)
(display (_ "Hello, world!"))
+2005-01-20 Bruno Haible <bruno@clisp.org>
+
+ * lang-guile: Make it work.
+
2005-01-16 Bruno Haible <bruno@clisp.org>
Support for Scheme.
cat <<\EOF > prog.scm
(use-modules (ice-9 format))
+(setlocale LC_ALL "")
(textdomain "prog")
(bindtextdomain "prog" ".")
-(define n (list-ref (command-line) 1))
+(define n (string->number (list-ref (command-line) 1)))
(format #t "~A~%" (gettext "'Your command, please?', asked the waiter."))