webhippie / gettext_i18n_rails_js

Extends gettext_i18n_rails making your .PO files available to client side javascript as JSON
https://github.com/webhippie/gettext_i18n_rails_js
MIT License
28 stars 35 forks source link

Disable inclusion of information from .po header #37

Open mcfilib opened 8 years ago

mcfilib commented 8 years ago

By default gettext_i18n_rails_js dumps things like email addresses (Report-Msgid-Bugs-To and Last-Translator) and information about language teams (Language-Team). These may be pieces of information that you want to expose in the JS of public-facing, commercial, applications.

I appreciate this is something that likely needs to be addressed upstream in https://github.com/webhippie/po_to_json but I wondered if you had any thoughts as to how it might be achieved or whether you'd accept such a patch?

tboerger commented 8 years ago

I'm fine with a patch that changes it, maybe including some kind of configuration to enable/disable that behavior.