grosser / gettext_i18n_rails

Rails: FastGettext, I18n integration -- simple, threadsafe and fast!
MIT License
268 stars 90 forks source link

.prawn files are not parsed #174

Open lehresman opened 6 years ago

lehresman commented 6 years ago

I'm using prawn to create PDF files, and am using the _ and n_ functions inside my .prawn files. These are plain Ruby files with the .prawn extension so Rails knows how to render the template content type.

However, when I run rake gettext:find, none of the strings in my .prawn files are extracted.

grosser commented 6 years ago

check out the rake tasks, they configure which files should be scraped possibly needs some changes to gettext which does the scraping