Fix template arguments visited multiple times
Fix template translation