It depends on what it is and where I'm travelling to.
この場合、次のような言い方ができますよ。
A: Do you usually try local foods when you travel to different places?
「いろいろなところに旅行するとき、その土地の食べ物を試しますか?」
B: It depends on what it is and where I'm travelling to.
「それが何か、どこを旅行しているかによる」=「場合による」
ご参考まで!