我正在构建一个多语言网站,并以 _('mytext') 或 _("mytext") 的形式显示我的文本,以便 Poedit 可以识别它并将其添加到我的待翻译翻译中。除非我删除 : 部分,否则为什么无法识别下面的文本{$form->getValue('email')}
?我该如何修改它以便 Poedit 选择它?
$this->view->errors = array(
array(_("{$form->getValue('email')} is already registered with this site. If you have
forgotten your password, click on the link and we will send you a new one"))
);