She didn't tell me she is going to transfer schools because she didn't want me to feel bad.
The teacher tried to think about ways to encourage kids who have been skipping school to start coming more regularly.
「…を配慮する」ことは to take ... into consideration のように言えますが、ご質問の文の場合は、次のように言うのが自然だと思います。
ーShe didn't tell me she was going to transfer schools because she didn't want me to feel sad.
「彼女は私が悲しまないよう転校することを言わなかった」
ーThe teacher tried to think about ways to encourage kids who have been skipping school to start coming more regularly.
「先生は不登校の生徒たちがもっと学校に来れるようになる方法を考えた」
ご参考まで!