If you have to put some variable in i18n function:
echo sprintf(__("Add as %s", true), $content);

But, $content var should be already translated, so it's up to you how
you do it, because I don't know the rest of your code ;-)

On Nov 15, 12:19 am, "Mariano C." <[email protected]> wrote:
> I have a code like:
>
> echo "Add as ".$content;
>
> I have to internationzalize this snippet of code,  i need to put in
> i18n process even the $content variable, how can I do that?
>
> Best Regards

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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

Reply via email to