[代「か」]わり
Not A, but B, B in place of A, Instead of A, B; In exchange for A, B
JLPT
N3
Istruktura
(A)N+に[代「か」]わって ~(B)N (A)N+に[代「か」]わり
Ibig sabihin
にかわって shows a replacement of a normal something with something else - where the thing being replaced is what's normally used/present. It cannot be used for something that's changed on the fly. You can use it to say if someone is replacing someone else who is ill/unavailable, or showing change over time (from tapes to CDs, gas-based cars to hybrids), etc.のかわりに/かわりに shows a balance between the thing replaced and the thing being replaced. In exchange for one, the other is used. This goes well with nouns. It's even clearer with verbs: you say that since you're not doing something, you do something else instead.
天気
がよいので
バス
の
代
わりに
歩
いて
学校
に
行
く
。
Dahil maganda ang panahon, maglalakad na lang ako papuntang school imbes na sumakay ng bus.
昨日風邪
を
牽
いたので
仕事
をする
代
わりに
一人
で
テレビゲーム
をやりました
。
Dahil nilalamig ako kahapon, naglalaro ako ng video games mag-isa sa halip nagumagawa ng trabaho.
御金
は
健康
の
代
わりにはならない
。
Hindi mo maaaring palitan ang pera para sa kalusugan.
いすの
代
わりにこの
木箱
を
使
ってください
。
Mangyaring gamitin itong kahoy na kahon sa halip ng isang upuan.
その
缶
は
灰皿
の
代
わりになる
。
Ang lata ay gagawin bilang isang ashtray.
