Image in translated text

Hi all,

Is it possible to display an image as part of a translated text string?

I am using the standard “Yii::t(‘messages’, ‘key’)” where the key text would be something like:

"Today the weather will be {image of a cloud}".

Thanks for any help.

Yii::t(‘app’, ‘Today the weather will be {image}’, array(’{image}’ => ‘<img src="" alt=""/>’));

Awesome, thanks!