XWIKI-10605 : Add internationalization support to send emails from a Template
* Fix TPC