> Sorry about that. ?If you look at the end of intl.lisp, *default-domain*
> is set to nil. ?Change that to "maxima". ?This makes it work for me with
> clisp. ?(There are other issues with clisp, but I think it's a clisp
> issue, not a maxima issue.)
>
> Can you test that for me?
Yes, this works.
> My understanding is that we're really supposed to have a
> (intl:textdomain "maxima") in each source file. ?The domain is supposed
> to be reset to nil (the default) after compiling each file. ?However,
> there's no portable way to do that so the domain is set to whatever the
> last value is. ?This happens to be nil, from the end of intl.lisp.
>
> I'm too lazy to put the textdomain in each file, so setting the domain
> to maxima at the end of intl should work. ?(Except for upcoming versions
> of cmucl where that won't work because cmucl will reset *default-domain*
> after compiling or loading a file. ?This is why Makefile sets
> *default-domain* to maxima when building sources.)
I only have experience with wxWidgets (wxMaxima is translated into 14
languages). If no domain is specified then all loaded domains are
searched. This works nicely because we can reuse the translations from
wxWidgets.
Andrej