A framework for software localization and inheritance-based lexicons