fixing 1278, multi-language templates not stored in db

--HG--
extra : source : c3aa09283e430493fdbf1dc9ea601cb6ca79d4b2