fixing 1278, multi-language templates not stored in db