# Email templates from old plugins

**URL:** <https://forum.pkp.sfu.ca/t/email-templates-from-old-plugins/66676>\
**Category:** Software Support\
**Tags:** upgrade, email-templates\
**Created:** [March 24, 2021, 3:06pm UTC](https://forum.pkp.sfu.ca/t/email-templates-from-old-plugins/66676 "2021-03-24T15:06:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc](https://forum.pkp.sfu.ca/user_avatar/forum.pkp.sfu.ca/marc/32/11356_2.png) [@marc](https://forum.pkp.sfu.ca/u/marc)\
**Post date:** [March 24, 2021, 3:06pm UTC](https://forum.pkp.sfu.ca/t/email-templates-from-old-plugins/66676/1 "2021-03-24T15:06:02Z")

</div>

Hi all,

Recently in a jounral I migrate to 3.2.1-4 (from an ancient 2.4.5) I found OJS had trouble finding templates in some languages (blank email template), so did a “reset to default” for langs and templates and the error disappear but something wired happen with the email templates list.

Journal langs are English, Catalan and Spanish (this last as default) but after the reset, old plugin templates are shown (review book) in… Czech (that is not an enabled or even not installed lang).

![imagen](https://forum.pkp.sfu.ca/uploads/default/original/3X/1/2/122aaa7d9edcd7ffc19a67bb544cedbb60dfd467.png)

Checking in the forum and I github I found some issues that could be related:

- [Upgrade from OJS 3.1.2.4 to OJS 3.2.1.2: Email templates: several problems and questions - #8 by mpbraendle](https://forum.pkp.sfu.ca/t/upgrade-from-ojs-3-1-2-4-to-ojs-3-2-1-2-email-templates-several-problems-and-questions/64932/8)
- [Email templates offer first alphabetically available installed language even if language is not active · Issue #6432 · pkp/pkp-lib · GitHub](https://github.com/pkp/pkp-lib/issues/6432)

But as far as I don’t need to keep this data (the journal don’t have custom templates or plugins anymore) I’m wondering if is possible to **truncate the email\_template** DB table and do a new “reset to defaults” (to update the table)… or copy this table from an existing journal to reset… or if there is an easy way to recover this table and recover a clean list.

Thanks for your time,  
m.

---

<div class="post-metadata">

**Author:** ![marc](https://forum.pkp.sfu.ca/user_avatar/forum.pkp.sfu.ca/marc/32/11356_2.png) [@marc](https://forum.pkp.sfu.ca/u/marc)\
**Post date:** [March 25, 2021, 5:56pm UTC](https://forum.pkp.sfu.ca/t/email-templates-from-old-plugins/66676/2 "2021-03-25T17:56:57Z")

</div>

Hi,

Removing the email\_templates tables and filling it with the content of a clean 3.2.1-4 (with same installed/enabled langs) did the job… but I’m unsure if this is the best (in terms of “less harmful”) way of resetting the email templates.

Until better approach is found, checking this a SOLVED.

Cheers,  
m.

---

<div class="post-metadata">

**Author:** ![rcgillis](https://forum.pkp.sfu.ca/letter_avatar/rcgillis/32/5_5575768a8748004e209b776fc1b2916d.png) [@rcgillis](https://forum.pkp.sfu.ca/u/rcgillis)\
**Post date:** [April 8, 2021, 11:43pm UTC](https://forum.pkp.sfu.ca/t/email-templates-from-old-plugins/66676/3 "2021-04-08T23:43:38Z")

</div>


