
On Apr 8, 2007, at 2:03 , Magnus Henoch wrote:
I'm hacking a library for writing XMPP clients, and just decided that my work is good enough to call it version 0.0.1. Find source and documentation here:
http://www.dtek.chalmers.se/~henoch/text/hsxmpp.html
It contains a werewolf bot as an example. I wanted the bot to speak several languages, but I couldn't find any library that would make that easier, so I wrote one myself, in Translate.hs. Is there any other way to do that? What do other projects use?
You could use GF and its grammar library to generate text in multiple languages, see http://www.cs.chalmers.se/~aarne/GF/ GF is written in Haskell and can be used as a library. I work with GF daily, so feel free to ask me any questions you may have.
...
/Björn