Translation of "Depending whether" in German

Depending on whether you believe in that kind of thing.
Kommt darauf an, ob man an so was glaubt.
OpenSubtitles v2018

Or hated, depending on whether you're still friends with them.
Kommt darauf an, ob du noch mit ihnen befreundet bist.
OpenSubtitles v2018

Other exceptions may be noted, depending on whether or not the support is repayable.
Je nachdem, ob die Unterstützung rückzahlbar ist, sind andere Ausnahmen möglich.
EUbookshop v2