Hi,

I guess you have a reason, but why not
<p>
<?php echo __('For security reasons...');?>
</p>

Regards,
Christopher.

> -----Ursprüngliche Nachricht-----
> Von: symfony-users@googlegroups.com [mailto:symfony-
> us...@googlegroups.com] Im Auftrag von Javier Garcia
> Gesendet: Freitag, 27. August 2010 12:43
> An: symfony-users@googlegroups.com
> Betreff: [symfony-users] How to translate a text that contains <p></p>
> ?
> 
>   Hi,
> 
> i want to translate this below:
> 
> <?php echo __(<<<EOM
> <p>
> For security reasons...
> </p>
> EOM
> ) ?>
> 
> So i create this translation unit:
> 
> <trans-unit>
> <source>For security reasons...</source>
> <target>Por razones de seguridad...</target>
> </trans-unit>
> 
> The problem: it is not translated less than i remove the <p></p> tags.
> 
> Any way to translate it keeping those tags?
> 
> --
> Javi
> 
> Ubuntu 8.04
> 
> --
> If you want to report a vulnerability issue on symfony, please send it
> to security at symfony-project.com
> 
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to