Complex sentence: Both the Cham and the Tso traditionally avoided using names of the dead; when those names were also words of the language, as often happened, this forced them to change the word, sometimes by replacing it with a word from a neighboring language.
Split into simpler sentences: Both the Cham and the Tso traditionally avoided using names of the dead. When those names were also words of the language, as often happened, this forced them to change the word, sometimes by replacing it with a word from a neighboring language.