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

Improve email localization #68

Open
1 of 3 tasks
fnagel opened this issue Jun 4, 2015 · 6 comments
Open
1 of 3 tasks

Improve email localization #68

fnagel opened this issue Jun 4, 2015 · 6 comments

Comments

@fnagel
Copy link
Owner

fnagel commented Jun 4, 2015

  • User email localization should be based upon subscription post language
  • Remove admin email localization: otherwise admin email localization depends on FE action or default (when sent from BE)
  • Use translation string for user emails
@fnagel fnagel added the bug label Jun 4, 2015
@fnagel fnagel changed the title Use translation string for emails Improve email localization Jun 4, 2015
@fnagel
Copy link
Owner Author

fnagel commented Jun 4, 2015

It seems its currently not possible to use Fluid translation features within backend. There is no way to force a specific localization. Neither for Tx_Extbase_Utility_Localization::translate nor for the related VH. Tried to hack a workaround without success. Help wanted.

Using a setting option for configuring a template per language uid would be an alternative. This wold not help with translating the email subject and, of course, is a very non TYPO3 conform way of fixing this.

Conclusion
Translation of emails is currently not possible. Adding localization strings help only when email is generated in the FE aka is approved and non spam from the beginning.

fnagel added a commit that referenced this issue Jun 4, 2015
Remove not useful localization strings. Add documentation section.

Related to #68
@fnagel
Copy link
Owner Author

fnagel commented Aug 17, 2015

@fnagel
Copy link
Owner Author

fnagel commented Sep 8, 2015

@fnagel
Copy link
Owner Author

fnagel commented Oct 19, 2015

@pixelbreit
Copy link

Hi, is there in the meantime a way to use different email templates (subscription opt-in, new comment notify for user) based on used frontend language?
Maybe a conditon to select alternative email templates or template folder?
Using t3extblog 2.2.1 with TYPO3 7.6.11

@fnagel
Copy link
Owner Author

fnagel commented Nov 2, 2016

Not sure, but I don't think TS conditions will work. Only if you make sure no emails are sent from within the BE, but than it should work with localization VH anyway.

You could try to work with multiple sys folders. Never tried before.

I guess this feature would need some more testing and some adjustments in code for a easy and correct language handling.

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

No branches or pull requests

2 participants