[OJS 3.3] Get article ID in notification

Hello all, @asmecher, @NateWr , @rcgillis

Which is the variable to display article ID in lib/pkp/locale/xx_YY/common.po: msgstr: available in ‘notification.type.reviewerComment’ ? There’s the title, but article ID is also essential as it is faster to find in our editorial process.
I’ve tried {$submissionId}, {$articleId} and {$id} but none have worked so far.

Hi @ramon,

For locale keys like notification.type.reviewerComment it’s not possible to add additional variables by updating the locale files. The locale files receive the variables when they are invoked in the code, (in PKPNotificationManager in this case).


PKP Team