i18n_generators icon indicating copy to clipboard operation
i18n_generators copied to clipboard

Haml localization extraction library

Open shaiguitar opened this issue 11 years ago • 4 comments

Not a classic issue, but figured this repository had something to do with it, and wanted to introduce this to you, in case you had need for it:

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

It's essentially a library/tool for extracting out i18n text out of haml, by parsing it with the haml nodes/types.

If you can use this, or know anyone who can use this, please let them know and give it a whirl. I would be happy to get feedback. Thanks!

shaiguitar avatar May 16 '13 18:05 shaiguitar

So parsing key in haml files is not supported in i18n_generators ? This may be the reason I can't get my keys in yml files ? ^^

yoyos avatar Nov 08 '13 14:11 yoyos

I suppose so, I haven't used this repo myself.

Anyway, ff you want to translate the text that is in the haml templates, http://github.com/shaiguitar/haml-i18n-extractor#readme should be good to use. Feel free to check it out and open an issue on that repo if you have any :)

shaiguitar avatar Nov 08 '13 17:11 shaiguitar

Yep I have to thank you. Very good gem for haml users :)

yoyos avatar Nov 08 '13 17:11 yoyos

Thanks!

shaiguitar avatar Nov 08 '13 17:11 shaiguitar