-
Notifications
You must be signed in to change notification settings - Fork 274
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
sponsor guest registration: untranslated email #3670
Comments
@jrouzierinverse: did you find something on this ? |
BUMP |
We set the language to the configured Language in PacketFence advanced.language not the language of The browser for sponsor emails. https://github.com/inverse-inc/packetfence/blob/devel/lib/pf/activation.pm#L438 We need to decide on the proper behavior for which language to use when sending sponsor emails. In my opinion it would be better to make sure that the language of the email is sent in the Language that is configured in PacketFence not in browser. |
For the record, code in #3698 fixes only bad translation for the subject. |
To reproduce: Create a sponsor request by visiting captive portal with a web browser configured in French.
Actual result: Sponsor will receive an email with:
Expected result: Sponsor should receive email with subject and content in French.
Template contains I18n tags and chains are present in
conf/locale/fr/LC_MESSAGES/packetfence.po
The text was updated successfully, but these errors were encountered: