[Haskell-cafe] haskell i18n best practices

Felipe Almeida Lessa felipe.lessa at gmail.com
Wed Oct 12 04:35:17 CEST 2011


On Tue, Oct 11, 2011 at 5:03 PM, Edward Kmett <ekmett at gmail.com> wrote:
> I'll admit I have only ever really tested this with a joke en at lolcat
> translation, which I auto-translate with perl, though I admit if I could
> find a nice perl module for generating zalgo-style text, en at zalgo would be
> pretty neat to auto-generate as well.

Using Yesod's approach and assuming

  lolspeak :: String -> String

you could have

  render_en_lolcat = lolspeak . render_en_US

Pretty neat! ;-D

Cheers,

-- 
Felipe.



More information about the Haskell-Cafe mailing list