herbgobbler icon indicating copy to clipboard operation
herbgobbler copied to clipboard

textfinder/textreplacer

Open shaiguitar opened this issue 11 years ago • 2 comments

Hey, great library! I was working on an equivalent of this for haml, as you can see here:

https://github.com/shaiguitar/haml-i18n-extractor

That lib has got an interactive executable as you can see the demo on the README file. I'm not familiar with the herbgobbler internals, so I was wondering if you have a concept similar to what is here:

https://github.com/shaiguitar/haml-i18n-extractor/blob/master/test/text_finder_test.rb https://github.com/shaiguitar/haml-i18n-extractor/blob/master/test/text_replacer_test.rb

If you did, I was thinking I could merge those concepts into the existing tool, or create a superset tool that would encompass both libraries, and abstract the templates they are working on, and just be a template-i18n-replacing library of sorts.

Hope that makes sense.

Also, if you do use haml or know anyone who does, I would be curious to know if you have any feedback about the above tool.

Thanks!

shaiguitar avatar May 16 '13 18:05 shaiguitar