Fix multilanguage bug related to traits miner