Hello,
we use Owncloud version 10.0.10 on the qnep. It is therefore difficult to update to the latest version.
We are currently updating the Activity Notifciation Mail Template. We have found the correct template under the path “_data/apps/activity/templates/html.notification.php”. Below is the code with which these activities are generated:
<?php foreach ($_['activities'] as $activityData) {
?>
<li>
<?php print_unescaped($l->t('%1$s - %2$s', $activityData)); ?>
</li>
<?php
} ?>
The mail that the user receives looks like this:
Hello User,
You are receiving this email because the following things happened at ownCloud
* User shared File.name with you - Today at...
* User shared File.name with you - Today at...
We would now like to translate the activities into another language (German). Unfortunately we can’t find the place in the code where this text is generated. Also in the l10n files we do not find it.
In which file can we customize and translate this text?
Thank you and best regards
Nick