stumpwm-devel
[Top][All Lists]
Advanced

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

Re: [STUMP] Nethack-esque messages, a la gnu screen


From: Shawn Betts
Subject: Re: [STUMP] Nethack-esque messages, a la gnu screen
Date: Tue, 31 Jul 2007 19:45:14 -0700



On 6/28/07, Amy Templeton <address@hidden> wrote:

P.S.:  If for some bizarre reason this eventually gets incorporated
       into the main CVS, I think it would be pretty cool. However,
       it's not particularly useful, so it's not exactly what one
       would call "not a waste of time."

Hi Amy,

I think this is a great hack and certainly a feature that needs
to be in CVS. This is one of the screen features I regret has
somehow escaped ratpoison all these years and it's great to see a
stumpwm patch for it :).

Hoooowever, I think this patch could and should be the beginnings
of internationalizing stumpwm. I don't know if there's the
equivalent of gettext for lisp, but it seems easy enough to
recreate at least the basic features. I imagine it might work
something like this:

(message "No other window.") becomes (message (gt "No other window."))

or something where gt looks up the string in some file and
returns the translated one be it spanish or nethackish :).

And then I guess one would have a *language* variable or
something that you can override and which is initialized to the
LANG env variable.

This is off the top of my head, I don't really know much about i18n.

In any case there's something to hack on if you or anyone else
feel up to it.

-Shawn
reply via email to

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