Closed pupeno closed 14 years ago
There might be a more recent one on http://github.com/nanoant/sinatra-hat/blob/master/lib/gettext/haml_parser.rb but I can't get either to work yet.
I won't add the parsers which depend on other libraries to gettext.
I've studied it's not good idea to support other libraries in gettext. Actually, gettext-1.x had supported rails-1.2.x. But there have been a lot of dependency problems because of rails internal changes. So I've removed rails support and move it to gettext_activerecord and gettext_rails since gettext-2.0.
Can you add a parser for Haml?
There's one in here: http://www.nanoant.com/programming/haml-gettext-automagic-translation
Not sure if it works or not. I'm trying to give it a try.