Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable inclusion of information from .po header #37

Open
mcfilib opened this issue Oct 14, 2016 · 1 comment
Open

Disable inclusion of information from .po header #37

mcfilib opened this issue Oct 14, 2016 · 1 comment

Comments

@mcfilib
Copy link
Contributor

mcfilib commented Oct 14, 2016

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants