Custom notification | Notification translation

Thiago la Torre

New Member
Hi, probably a dumb question.
But forum search was not useful, so probably this will be useful for someone else.

After someone subscribe to a list, the admin receives an e-mail such as the following.
Where can i change the content of that e-mail?

New list subscriber!
A new subscriber has been added to your list.
List name: N...
Details url: ,,,

Submitted data:
...
 

Fernando

New Member
Hello!

apps/frontend/views/lists/_email-subscriber-created.php

Can we translate those emails? In that case, how and in which language translation file?
 

twisted1919

Administrator
Staff member
@Fernando - The file is lists.php.
As an example, a code like:
PHP:
<?php echo Yii::t('whatever', 'AAAAAAAA.');?>
means that the file name is whatever.php
 
Top