Fixed bug # 0016728: added control of thesaurus language changes