Fix error when creating a new template as a regular user

(cherry picked from commit 4eb339d5d7cdccdd68937238020aedc25be832ad)
Update languages

(cherry picked from commit 5a8eb832631eb2dc22499e2169f8818a959ebd3d)