基本的に "it/that depends (on the context/situation)"は日本語で「時と場合による」か「事情によりけりだ」と言います。でも、目的語があれば、その目的語+「による」は普通と思います。
Ex. A: How do I say 「久し振り」in English? B: Well, it/that depends on the context. A: Like, 「昨夜久し振りカレーを食べた」. B: Oh, "Last night I ate curry for the first time in a long time".