Hi all,
I recognized the following problem concerning i18n and sendEmail:
$message = $this->getContext()->getI18N()-
>__('invite_to_group_message', null, 'text');
...
$raw_email = $this->sendEmail('mail', 'newMessage');
-> i18n gets replaced.
If I change the sequence of the code:
$raw_email = $this->sendEmail('mail', 'newMessage');
...
$message = $this->getContext()->getI18N()-
>__('invite_to_group_message', null, 'text');
-> i18n will not be replaced and just the i18n-key is shown.
Does anybody have an idea?
Regards,
Johannes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---