I didn't tried your example, but if I have understood it well, then
__('dont_echo') would still echo "dont_echo", so to achieve what you
wrote you should use __('dont_echo', true)this would probably work, but is tedious, given that you need very often to add some substrings as an other idea it would be good to implement two different gettext functions like _e( ) -> echo automatically __( ) -> don't echo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
