Adding missing smarty plugin translate implementation